#902FB4#902FB4

#902FB4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.206 H 315.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#902FB4
RGBrgb(144, 47, 180)
HSLhsl(284, 59%, 45%)
HSVhsv(284, 74%, 71%)
CMYKcmyk(20%, 73.9%, 0%, 29.4%)
CIE-LABlab(40.01, 59.66, -51.57)
CIE-LCHlch(40.01, 78.86, 319.16°)
OKLaboklab(50.93% 0.1456 -0.1454)
OKLCHoklch(50.93% 0.206 315)
XYZxyz(20.7550, 11.2584, 44.2510)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB4 #53B42F
analogous
#4D2FB4 #902FB4 #B42F96
triadic
#902FB4 #B4902F #2FB490
tetradic
#902FB4 #B44D2F #53B42F #2F96B4
square
#902FB4 #B44D2F #53B42F #2F96B4
split-complementary
#902FB4 #96B42F #2FB44D
monochromatic
#421653 #692283 #902FB4 #AE4FD1 #C480DE

Accessibility & contrast

On white

6.46
#902FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#902FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB4#FFFFFF#000000##FFFFFF
##902FB41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#2A61B1
Tritanopia (blue-blind)
#8D4C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902fb4;
/* rgb */ color: rgb(144, 47, 180);
/* oklch */ color: oklch(50.9% 0.206 315.0);
Tailwind
colors: {
  custom: {
    50: '#b571cb',
    500: '#902fb4',
    950: '#000000',
  },
}
SCSS
$custom: #902fb4;
$custom-light: #b571cb;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb4",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 283.759,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.20573,
    "h": 315
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#902FB4
secondary
#8DC778
accent
#E24670
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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