#902FB5#902FB5

#902FB5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.207 H 314.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#902FB5
RGBrgb(144, 47, 181)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(20.4%, 74%, 0%, 29%)
CIE-LABlab(40.08, 59.86, -52.05)
CIE-LCHlch(40.08, 79.33, 318.99°)
OKLaboklab(51% 0.1454 -0.1468)
OKLCHoklch(51% 0.207 314.7)
XYZxyz(20.8572, 11.2993, 44.7894)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FB5 #54B52F
analogous
#4D2FB5 #902FB5 #B52F97
triadic
#902FB5 #B5902F #2FB590
tetradic
#902FB5 #B54D2F #54B52F #2F97B5
square
#902FB5 #B54D2F #54B52F #2F97B5
split-complementary
#902FB5 #97B52F #2FB54D
monochromatic
#431654 #692284 #902FB5 #AE50D1 #C480DE

Accessibility & contrast

On white

6.44
#902FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#902FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FB5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FB5#FFFFFF#000000##FFFFFF
##902FB51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#8D4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902fb5;
/* rgb */ color: rgb(144, 47, 181);
/* oklch */ color: oklch(51.0% 0.207 314.7);
Tailwind
colors: {
  custom: {
    50: '#b571cc',
    500: '#902fb5',
    950: '#000000',
  },
}
SCSS
$custom: #902fb5;
$custom-light: #b571cc;
$custom-dark: #000000;
JSON
{
  "hex": "#902fb5",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 283.433,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.20665,
    "h": 314.7
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#902FB5
secondary
#8EC779
accent
#E24671
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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