#902CB1#902CB1

#902CB1 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.206 H 316.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#902CB1
RGBrgb(144, 44, 177)
HSLhsl(285, 60%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.6%, 75.1%, 0%, 30.6%)
CIE-LABlab(39.42, 60.17, -50.75)
CIE-LCHlch(39.42, 78.71, 319.86°)
OKLaboklab(50.45% 0.1488 -0.143)
OKLCHoklch(50.45% 0.206 316.1)
XYZxyz(20.3369, 10.9058, 42.6202)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB1 #4DB12C
analogous
#4D2CB1 #902CB1 #B12C8F
triadic
#902CB1 #B1902C #2CB190
tetradic
#902CB1 #B14D2C #4DB12C #2C8FB1
square
#902CB1 #B14D2C #4DB12C #2C8FB1
split-complementary
#902CB1 #8FB12C #2CB14D
monochromatic
#40144F #682080 #902CB1 #B049D2 #C57ADE

Accessibility & contrast

On white

6.60
#902CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#902CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB1#FFFFFF#000000##FFFFFF
##902CB11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#2B60AE
Tritanopia (blue-blind)
#8E496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902cb1;
/* rgb */ color: rgb(144, 44, 177);
/* oklch */ color: oklch(50.5% 0.206 316.1);
Tailwind
colors: {
  custom: {
    50: '#b570c9',
    500: '#902cb1',
    950: '#000000',
  },
}
SCSS
$custom: #902cb1;
$custom-light: #b570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb1",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 285.113,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50451,
    "c": 0.20632,
    "h": 316.1
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#902CB1
secondary
#87C673
accent
#E3446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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