#902BB2#902BB2

#902BB2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.208 H 315.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#902BB2
RGBrgb(144, 43, 178)
HSLhsl(285, 61%, 43%)
HSVhsv(285, 76%, 70%)
CMYKcmyk(19.1%, 75.8%, 0%, 30.2%)
CIE-LABlab(39.36, 60.73, -51.43)
CIE-LCHlch(39.36, 79.58, 319.74°)
OKLaboklab(50.43% 0.1495 -0.145)
OKLCHoklch(50.43% 0.208 315.9)
XYZxyz(20.4001, 10.8722, 43.1348)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BB2 #4DB22B
analogous
#4C2BB2 #902BB2 #B22B90
triadic
#902BB2 #B2902B #2BB290
tetradic
#902BB2 #B24C2B #4DB22B #2B90B2
square
#902BB2 #B24C2B #4DB22B #2B90B2
split-complementary
#902BB2 #90B22B #2BB24C
monochromatic
#40134F #681F81 #902BB2 #B048D3 #C579DF

Accessibility & contrast

On white

6.62
#902BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BB2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BB2#FFFFFF#000000##FFFFFF
##902BB21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#295FAF
Tritanopia (blue-blind)
#8E496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902bb2;
/* rgb */ color: rgb(144, 43, 178);
/* oklch */ color: oklch(50.4% 0.208 315.9);
Tailwind
colors: {
  custom: {
    50: '#b56fca',
    500: '#902bb2',
    950: '#000000',
  },
}
SCSS
$custom: #902bb2;
$custom-light: #b56fca;
$custom-dark: #000000;
JSON
{
  "hex": "#902bb2",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 284.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.20827,
    "h": 315.9
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#902BB2
secondary
#87C772
accent
#E4446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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