#902DC3#902DC3

#902DC3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.221 H 310.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#902DC3
RGBrgb(144, 45, 195)
HSLhsl(280, 63%, 47%)
HSVhsv(280, 77%, 76%)
CMYKcmyk(26.2%, 76.9%, 0%, 23.5%)
CIE-LABlab(40.81, 63.46, -59.09)
CIE-LCHlch(40.81, 86.71, 317.04°)
OKLaboklab(51.83% 0.1449 -0.1675)
OKLCHoklch(51.83% 0.221 310.9)
XYZxyz(22.2884, 11.7467, 52.7124)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DC3 #60C32D
analogous
#452DC3 #902DC3 #C32DAB
triadic
#902DC3 #C3902D #2DC390
tetradic
#902DC3 #C3452D #60C32D #2DABC3
square
#902DC3 #C3452D #60C32D #2DABC3
split-complementary
#902DC3 #ABC32D #2DC345
monochromatic
#471660 #6B2291 #902DC3 #AB55D8 #C487E3

Accessibility & contrast

On white

6.27
#902DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#902DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DC3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DC3#FFFFFF#000000##FFFFFF
##902DC31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0262C0
Tritanopia (blue-blind)
#895177
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902dc3;
/* rgb */ color: rgb(144, 45, 195);
/* oklch */ color: oklch(51.8% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#b671d6',
    500: '#902dc3',
    950: '#000000',
  },
}
SCSS
$custom: #902dc3;
$custom-light: #b671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#902dc3",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 279.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.22146,
    "h": 310.9
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#902DC3
secondary
#99CD7F
accent
#E6427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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