#902CA1#902CA1

#902CA1 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.192 H 321.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#902CA1
RGBrgb(144, 44, 161)
HSLhsl(291, 57%, 40%)
HSVhsv(291, 73%, 63%)
CMYKcmyk(10.6%, 72.7%, 0%, 36.9%)
CIE-LABlab(38.38, 57.09, -42.86)
CIE-LCHlch(38.38, 71.38, 323.10°)
OKLaboklab(49.38% 0.1503 -0.1198)
OKLCHoklch(49.38% 0.192 321.4)
XYZxyz(18.8346, 10.3049, 34.7083)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CA1 #3DA12C
analogous
#552CA1 #902CA1 #A12C77
triadic
#902CA1 #A1902C #2CA190
tetradic
#902CA1 #A1552C #3DA12C #2C77A1
square
#902CA1 #A1552C #3DA12C #2C77A1
split-complementary
#902CA1 #77A12C #2CA155
monochromatic
#3A1241 #651F71 #902CA1 #B640CB #C970D8

Accessibility & contrast

On white

6.86
#902CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#902CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CA1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CA1#FFFFFF#000000##FFFFFF
##902CA11.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#914264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902ca1;
/* rgb */ color: rgb(144, 44, 161);
/* oklch */ color: oklch(49.4% 0.192 321.4);
Tailwind
colors: {
  custom: {
    50: '#b46fbd',
    500: '#902ca1',
    950: '#000000',
  },
}
SCSS
$custom: #902ca1;
$custom-light: #b46fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#902ca1",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 291.282,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.19223,
    "h": 321.4
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#902CA1
secondary
#76BF6A
accent
#E0475E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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