#902FB8#902FB8

#902FB8 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.209 H 313.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#902FB8
RGBrgb(144, 47, 184)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(21.7%, 74.5%, 0%, 27.8%)
CIE-LABlab(40.29, 60.47, -53.49)
CIE-LCHlch(40.29, 80.73, 318.50°)
OKLaboklab(51.22% 0.145 -0.151)
OKLCHoklch(51.22% 0.209 313.8)
XYZxyz(21.1684, 11.4237, 46.4280)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB8 #57B82F
analogous
#4C2FB8 #902FB8 #B82F9B
triadic
#902FB8 #B8902F #2FB890
tetradic
#902FB8 #B84C2F #57B82F #2F9BB8
square
#902FB8 #B84C2F #57B82F #2F9BB8
split-complementary
#902FB8 #9BB82F #2FB84C
monochromatic
#441657 #6A2387 #902FB8 #AD52D3 #C482DF

Accessibility & contrast

On white

6.39
#902FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#902FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB8#FFFFFF#000000##FFFFFF
##902FB81.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#2461B5
Tritanopia (blue-blind)
#8C4E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902fb8;
/* rgb */ color: rgb(144, 47, 184);
/* oklch */ color: oklch(51.2% 0.209 313.8);
Tailwind
colors: {
  custom: {
    50: '#b571ce',
    500: '#902fb8',
    950: '#000000',
  },
}
SCSS
$custom: #902fb8;
$custom-light: #b571ce;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb8",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 282.482,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.20938,
    "h": 313.8
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#902FB8
secondary
#91C87B
accent
#E24573
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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