#902FB9#902FB9

#902FB9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.210 H 313.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#902FB9
RGBrgb(144, 47, 185)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22.2%, 74.6%, 0%, 27.5%)
CIE-LABlab(40.35, 60.67, -53.97)
CIE-LCHlch(40.35, 81.20, 318.35°)
OKLaboklab(51.29% 0.1449 -0.1524)
OKLCHoklch(51.29% 0.21 313.5)
XYZxyz(21.2735, 11.4658, 46.9820)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB9 #58B92F
analogous
#4B2FB9 #902FB9 #B92F9D
triadic
#902FB9 #B9902F #2FB990
tetradic
#902FB9 #B94B2F #58B92F #2F9DB9
square
#902FB9 #B94B2F #58B92F #2F9DB9
split-complementary
#902FB9 #9DB92F #2FB94B
monochromatic
#441657 #6A2388 #902FB9 #AD52D3 #C483DF

Accessibility & contrast

On white

6.38
#902FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#902FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB9#FFFFFF#000000##FFFFFF
##902FB91.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#8C4E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902fb9;
/* rgb */ color: rgb(144, 47, 185);
/* oklch */ color: oklch(51.3% 0.210 313.5);
Tailwind
colors: {
  custom: {
    50: '#b571cf',
    500: '#902fb9',
    950: '#000000',
  },
}
SCSS
$custom: #902fb9;
$custom-light: #b571cf;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb9",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 282.174,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.21028,
    "h": 313.5
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#902FB9
secondary
#92C97B
accent
#E34574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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