#902FB6#902FB6

#902FB6 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.208 H 314.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#902FB6
RGBrgb(144, 47, 182)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(20.9%, 74.2%, 0%, 28.6%)
CIE-LABlab(40.15, 60.06, -52.53)
CIE-LCHlch(40.15, 79.80, 318.83°)
OKLaboklab(51.07% 0.1453 -0.1482)
OKLCHoklch(51.07% 0.208 314.4)
XYZxyz(20.9602, 11.3404, 45.3317)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB6 #55B62F
analogous
#4C2FB6 #902FB6 #B62F99
triadic
#902FB6 #B6902F #2FB690
tetradic
#902FB6 #B64C2F #55B62F #2F99B6
square
#902FB6 #B64C2F #55B62F #2F99B6
split-complementary
#902FB6 #99B62F #2FB64C
monochromatic
#431655 #6A2285 #902FB6 #AD50D2 #C481DE

Accessibility & contrast

On white

6.43
#902FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#902FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB6
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB6#FFFFFF#000000##FFFFFF
##902FB61.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#8D4D70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902fb6;
/* rgb */ color: rgb(144, 47, 182);
/* oklch */ color: oklch(51.1% 0.208 314.4);
Tailwind
colors: {
  custom: {
    50: '#b571cd',
    500: '#902fb6',
    950: '#000000',
  },
}
SCSS
$custom: #902fb6;
$custom-light: #b571cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb6",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 283.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.20755,
    "h": 314.4
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#902FB6
secondary
#8FC779
accent
#E24672
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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