#902BB0#902BB0

#902BB0 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.206 H 316.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#902BB0
RGBrgb(144, 43, 176)
HSLhsl(286, 61%, 43%)
HSVhsv(286, 76%, 69%)
CMYKcmyk(18.2%, 75.6%, 0%, 31%)
CIE-LABlab(39.23, 60.33, -50.46)
CIE-LCHlch(39.23, 78.66, 320.09°)
OKLaboklab(50.29% 0.1498 -0.1421)
OKLCHoklch(50.29% 0.207 316.5)
XYZxyz(20.2008, 10.7925, 42.0849)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BB0 #4BB02B
analogous
#4D2BB0 #902BB0 #B02B8D
triadic
#902BB0 #B0902B #2BB090
tetradic
#902BB0 #B04D2B #4BB02B #2B8DB0
square
#902BB0 #B04D2B #4BB02B #2B8DB0
split-complementary
#902BB0 #8DB02B #2BB04D
monochromatic
#40134E #681F7F #902BB0 #B046D2 #C578DE

Accessibility & contrast

On white

6.65
#902BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#902BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BB0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BB0#FFFFFF#000000##FFFFFF
##902BB01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#8E486C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902bb0;
/* rgb */ color: rgb(144, 43, 176);
/* oklch */ color: oklch(50.3% 0.206 316.5);
Tailwind
colors: {
  custom: {
    50: '#b56fc8',
    500: '#902bb0',
    950: '#000000',
  },
}
SCSS
$custom: #902bb0;
$custom-light: #b56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#902bb0",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 285.564,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.2065,
    "h": 316.5
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#902BB0
secondary
#85C671
accent
#E4446A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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