#902FB3#902FB3

#902FB3 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.205 H 315.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#902FB3
RGBrgb(144, 47, 179)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(19.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(39.94, 59.46, -51.09)
CIE-LCHlch(39.94, 78.39, 319.33°)
OKLaboklab(50.87% 0.1457 -0.144)
OKLCHoklch(50.87% 0.205 315.3)
XYZxyz(20.6535, 11.2178, 43.7164)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB3 #52B32F
analogous
#4E2FB3 #902FB3 #B32F94
triadic
#902FB3 #B3902F #2FB390
tetradic
#902FB3 #B34E2F #52B32F #2F94B3
square
#902FB3 #B34E2F #52B32F #2F94B3
split-complementary
#902FB3 #94B32F #2FB34E
monochromatic
#421652 #692283 #902FB3 #AE4FD1 #C47FDD

Accessibility & contrast

On white

6.47
#902FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902FB3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB3#FFFFFF#000000##FFFFFF
##902FB31.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#8D4B6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902fb3;
/* rgb */ color: rgb(144, 47, 179);
/* oklch */ color: oklch(50.9% 0.205 315.3);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#902fb3',
    950: '#000000',
  },
}
SCSS
$custom: #902fb3;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb3",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 284.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.20483,
    "h": 315.3
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#902FB3
secondary
#8CC678
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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