#BD02CA

A color in the Purple, Crimson, Magenta family

#bd02ca is a color in the Purple, Crimson, Magenta family: RGB(189, 2, 202), HSL(296°, 98%, 40%), CMYK(6%, 99%, 0%, 21%). Closest named color: darkorchid. Contrast is 5.22:1 on white and 4.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bd02ca
RGBrgb(189 2 202)
RGB (legacy)rgb(189, 2, 202)
RGB %rgb(74% 1% 79%)
HSLhsl(296 98% 40%)
HSV / HSBhsv(296, 99%, 79%)
HWBhwb(296 1% 21%)
CMYKcmyk(6%, 99%, 0%, 21%)
CIELAB (D50)lab(45.56 75.93 -54.67)
LCHlch(45.56 93.57 324.25)
OKLaboklab(0.5689 0.217 -0.1531)
OKLCHoklch(0.5689 0.2655 324.79)
Decimal12387018

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 7.4
Closest web-safe color#cc00cc
Hue296°
Saturation (HSL / HSV)98% / 99%
Lightness (HSL)40%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)32% / 22%
Relative luminance (WCAG)0.1513
Red / Green / Blue189 / 2 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.03:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 73.4 / -28.3 · As background with white / black text: Lc -78.8 / 30.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #bd02ca;
  --color-brand-oklch: oklch(56.89% 0.2655 324.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(189 2 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bd02ca] text-[#bd02ca] border-[#bd02ca]">