#902FB1#902FB1

#902FB1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.203 H 316.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#902FB1
RGBrgb(144, 47, 177)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 73%, 69%)
CMYKcmyk(18.6%, 73.4%, 0%, 30.6%)
CIE-LABlab(39.81, 59.06, -50.12)
CIE-LCHlch(39.81, 77.46, 319.68°)
OKLaboklab(50.73% 0.1459 -0.1411)
OKLCHoklch(50.73% 0.203 316)
XYZxyz(20.4527, 11.1374, 42.6588)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB1 #50B12F
analogous
#4F2FB1 #902FB1 #B12F91
triadic
#902FB1 #B1902F #2FB190
tetradic
#902FB1 #B14F2F #50B12F #2F91B1
square
#902FB1 #B14F2F #50B12F #2F91B1
split-complementary
#902FB1 #91B12F #2FB14F
monochromatic
#411550 #692281 #902FB1 #AF4DD0 #C57EDD

Accessibility & contrast

On white

6.51
#902FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#902FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB1#FFFFFF#000000##FFFFFF
##902FB11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#2D60AE
Tritanopia (blue-blind)
#8E4B6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902fb1;
/* rgb */ color: rgb(144, 47, 177);
/* oklch */ color: oklch(50.7% 0.203 316.0);
Tailwind
colors: {
  custom: {
    50: '#b571c9',
    500: '#902fb1',
    950: '#000000',
  },
}
SCSS
$custom: #902fb1;
$custom-light: #b571c9;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb1",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 284.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.20301,
    "h": 316
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#902FB1
secondary
#8AC576
accent
#E1476E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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