#902BA8#902BA8

#902BA8 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 319.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#902BA8
RGBrgb(144, 43, 168)
HSLhsl(288, 59%, 41%)
HSVhsv(288, 74%, 66%)
CMYKcmyk(14.3%, 74.4%, 0%, 34.1%)
CIE-LABlab(38.70, 58.78, -46.55)
CIE-LCHlch(38.70, 74.98, 321.62°)
OKLaboklab(49.75% 0.1507 -0.1306)
OKLCHoklch(49.75% 0.199 319.1)
XYZxyz(19.4324, 10.4851, 38.0384)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BA8 #43A82B
analogous
#522BA8 #902BA8 #A82B82
triadic
#902BA8 #A8902B #2BA890
tetradic
#902BA8 #A8522B #43A82B #2B82A8
square
#902BA8 #A8522B #43A82B #2B82A8
split-complementary
#902BA8 #82A82B #2BA852
monochromatic
#3C1247 #661F77 #902BA8 #B342CF #C772DB

Accessibility & contrast

On white

6.78
#902BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#902BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BA8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BA8#FFFFFF#000000##FFFFFF
##902BA81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#345EA5
Tritanopia (blue-blind)
#904467
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ba8;
/* rgb */ color: rgb(144, 43, 168);
/* oklch */ color: oklch(49.8% 0.199 319.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc2',
    500: '#902ba8',
    950: '#000000',
  },
}
SCSS
$custom: #902ba8;
$custom-light: #b46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ba8",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 288.48,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.19946,
    "h": 319.1
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#902BA8
secondary
#7DC26C
accent
#E24564
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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