#902CD1#902CD1

#902CD1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.8% C 0.235 H 307.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#902CD1
RGBrgb(144, 44, 209)
HSLhsl(276, 65%, 50%)
HSVhsv(276, 79%, 82%)
CMYKcmyk(31.1%, 78.9%, 0%, 18%)
CIE-LABlab(41.74, 66.74, -65.70)
CIE-LCHlch(41.74, 93.65, 315.45°)
OKLaboklab(52.81% 0.1426 -0.1869)
OKLCHoklch(52.81% 0.235 307.3)
XYZxyz(23.9084, 12.3344, 61.4305)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CD1 #6DD12C
analogous
#3E2CD1 #902CD1 #D12CBF
triadic
#902CD1 #D1902C #2CD190
tetradic
#902CD1 #D13E2C #6DD12C #2CBFD1
square
#902CD1 #D13E2C #6DD12C #2CBFD1
split-complementary
#902CD1 #BFD12C #2CD13E
monochromatic
#4A176C #6D219E #902CD1 #AB5DDD #C590E8

Accessibility & contrast

On white

6.06
#902CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#902CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CD1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CD1#FFFFFF#000000##FFFFFF
##902CD11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#85577F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #902cd1;
/* rgb */ color: rgb(144, 44, 209);
/* oklch */ color: oklch(52.8% 0.235 307.3);
Tailwind
colors: {
  custom: {
    50: '#b671e0',
    500: '#902cd1',
    950: '#000000',
  },
}
SCSS
$custom: #902cd1;
$custom-light: #b671e0;
$custom-dark: #000000;
JSON
{
  "hex": "#902cd1",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 276.364,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.2351,
    "h": 307.3
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#902CD1
secondary
#A4D287
accent
#E84082
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #902CD1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#902CD1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva