#902FB2#902FB2

#902FB2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.204 H 315.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#902FB2
RGBrgb(144, 47, 178)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(19.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(39.88, 59.26, -50.60)
CIE-LCHlch(39.88, 77.92, 319.50°)
OKLaboklab(50.8% 0.1458 -0.1426)
OKLCHoklch(50.8% 0.204 315.6)
XYZxyz(20.5527, 11.1775, 43.1857)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB2 #51B22F
analogous
#4E2FB2 #902FB2 #B22F93
triadic
#902FB2 #B2902F #2FB290
tetradic
#902FB2 #B24E2F #51B22F #2F93B2
square
#902FB2 #B24E2F #51B22F #2F93B2
split-complementary
#902FB2 #93B22F #2FB24E
monochromatic
#421551 #692282 #902FB2 #AE4ED0 #C47EDD

Accessibility & contrast

On white

6.49
#902FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#902FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB2#FFFFFF#000000##FFFFFF
##902FB21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#2C61AF
Tritanopia (blue-blind)
#8D4B6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902fb2;
/* rgb */ color: rgb(144, 47, 178);
/* oklch */ color: oklch(50.8% 0.204 315.6);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#902fb2',
    950: '#000000',
  },
}
SCSS
$custom: #902fb2;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb2",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 284.427,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50796,
    "c": 0.20392,
    "h": 315.6
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#902FB2
secondary
#8BC677
accent
#E1466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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