#902BC2#902BC2

#902BC2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.223 H 311.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#902BC2
RGBrgb(144, 43, 194)
HSLhsl(280, 64%, 46%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(25.8%, 77.8%, 0%, 23.9%)
CIE-LABlab(40.50, 63.95, -59.02)
CIE-LCHlch(40.50, 87.02, 317.30°)
OKLaboklab(51.59% 0.1468 -0.1672)
OKLCHoklch(51.59% 0.223 311.3)
XYZxyz(22.1012, 11.5527, 52.0941)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BC2 #5DC22B
analogous
#442BC2 #902BC2 #C22BA9
triadic
#902BC2 #C2902B #2BC290
tetradic
#902BC2 #C2442B #5DC22B #2BA9C2
square
#902BC2 #C2442B #5DC22B #2BA9C2
split-complementary
#902BC2 #A9C22B #2BC244
monochromatic
#46155E #6B2090 #902BC2 #AC52D9 #C484E4

Accessibility & contrast

On white

6.34
#902BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#902BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BC2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BC2#FFFFFF#000000##FFFFFF
##902BC21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0161BF
Tritanopia (blue-blind)
#895076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902bc2;
/* rgb */ color: rgb(144, 43, 194);
/* oklch */ color: oklch(51.6% 0.223 311.3);
Tailwind
colors: {
  custom: {
    50: '#b670d5',
    500: '#902bc2',
    950: '#000000',
  },
}
SCSS
$custom: #902bc2;
$custom-light: #b670d5;
$custom-dark: #000000;
JSON
{
  "hex": "#902bc2",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 280.132,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51587,
    "c": 0.22251,
    "h": 311.3
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#902BC2
secondary
#97CD7C
accent
#E74178
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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