#902CC3#902CC3

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

Color values

HEX#902CC3
RGBrgb(144, 44, 195)
HSLhsl(280, 63%, 47%)
HSVhsv(280, 77%, 76%)
CMYKcmyk(26.2%, 77.4%, 0%, 23.5%)
CIE-LABlab(40.69, 63.81, -59.29)
CIE-LCHlch(40.69, 87.10, 317.10°)
OKLaboklab(51.75% 0.1457 -0.168)
OKLCHoklch(51.75% 0.222 310.9)
XYZxyz(22.2507, 11.6713, 52.6998)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CC3 #5FC32C
analogous
#452CC3 #902CC3 #C32CAB
triadic
#902CC3 #C3902C #2CC390
tetradic
#902CC3 #C3452C #5FC32C #2CABC3
square
#902CC3 #C3452C #5FC32C #2CABC3
split-complementary
#902CC3 #ABC32C #2CC345
monochromatic
#46155F #6B2191 #902CC3 #AC54D8 #C486E4

Accessibility & contrast

On white

6.30
#902CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#902CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CC3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CC3#FFFFFF#000000##FFFFFF
##902CC31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902cc3;
/* rgb */ color: rgb(144, 44, 195);
/* oklch */ color: oklch(51.7% 0.222 310.9);
Tailwind
colors: {
  custom: {
    50: '#b671d6',
    500: '#902cc3',
    950: '#000000',
  },
}
SCSS
$custom: #902cc3;
$custom-light: #b671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#902cc3",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 279.735,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.22244,
    "h": 310.9
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#902CC3
secondary
#99CD7E
accent
#E64279
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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