#902BAF#902BAF

#902BAF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.206 H 316.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#902BAF
RGBrgb(144, 43, 175)
HSLhsl(286, 61%, 43%)
HSVhsv(286, 75%, 69%)
CMYKcmyk(17.7%, 75.4%, 0%, 31.4%)
CIE-LABlab(39.16, 60.14, -49.98)
CIE-LCHlch(39.16, 78.19, 320.27°)
OKLaboklab(50.22% 0.1499 -0.1407)
OKLCHoklch(50.22% 0.206 316.8)
XYZxyz(20.1022, 10.7530, 41.5658)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BAF #4AAF2B
analogous
#4E2BAF #902BAF #AF2B8C
triadic
#902BAF #AF902B #2BAF90
tetradic
#902BAF #AF4E2B #4AAF2B #2B8CAF
square
#902BAF #AF4E2B #4AAF2B #2B8CAF
split-complementary
#902BAF #8CAF2B #2BAF4E
monochromatic
#3F134D #681F7E #902BAF #B146D1 #C577DE

Accessibility & contrast

On white

6.67
#902BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#902BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BAF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BAF#FFFFFF#000000##FFFFFF
##902BAF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#8E476B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902baf;
/* rgb */ color: rgb(144, 43, 175);
/* oklch */ color: oklch(50.2% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#b56fc8',
    500: '#902baf',
    950: '#000000',
  },
}
SCSS
$custom: #902baf;
$custom-light: #b56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#902baf",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 285.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.20561,
    "h": 316.8
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#902BAF
secondary
#84C570
accent
#E4446A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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