#902BA6#902BA6

#902BA6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.198 H 319.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#902BA6
RGBrgb(144, 43, 166)
HSLhsl(289, 59%, 41%)
HSVhsv(289, 74%, 65%)
CMYKcmyk(13.3%, 74.1%, 0%, 34.9%)
CIE-LABlab(38.57, 58.40, -45.56)
CIE-LCHlch(38.57, 74.07, 322.04°)
OKLaboklab(49.62% 0.1509 -0.1277)
OKLCHoklch(49.62% 0.198 319.8)
XYZxyz(19.2475, 10.4112, 37.0647)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BA6 #41A62B
analogous
#522BA6 #902BA6 #A62B7E
triadic
#902BA6 #A6902B #2BA690
tetradic
#902BA6 #A6522B #41A62B #2B7EA6
square
#902BA6 #A6522B #41A62B #2B7EA6
split-complementary
#902BA6 #7EA62B #2BA652
monochromatic
#3C1245 #661E75 #902BA6 #B441CE #C771DA

Accessibility & contrast

On white

6.81
#902BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#902BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BA6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BA6#FFFFFF#000000##FFFFFF
##902BA61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#904366
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ba6;
/* rgb */ color: rgb(144, 43, 166);
/* oklch */ color: oklch(49.6% 0.198 319.8);
Tailwind
colors: {
  custom: {
    50: '#b46fc1',
    500: '#902ba6',
    950: '#000000',
  },
}
SCSS
$custom: #902ba6;
$custom-light: #b46fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#902ba6",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 289.268,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.19772,
    "h": 319.8
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#902BA6
secondary
#7BC16B
accent
#E24662
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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