#902CA0#902CA0

#902CA0 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.191 H 321.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#902CA0
RGBrgb(144, 44, 160)
HSLhsl(292, 57%, 40%)
HSVhsv(292, 73%, 63%)
CMYKcmyk(10%, 72.5%, 0%, 37.3%)
CIE-LABlab(38.32, 56.90, -42.35)
CIE-LCHlch(38.32, 70.93, 323.34°)
OKLaboklab(49.32% 0.1504 -0.1184)
OKLCHoklch(49.32% 0.191 321.8)
XYZxyz(18.7468, 10.2698, 34.2457)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CA0 #3CA02C
analogous
#562CA0 #902CA0 #A02C76
triadic
#902CA0 #A0902C #2CA090
tetradic
#902CA0 #A0562C #3CA02C #2C76A0
square
#902CA0 #A0562C #3CA02C #2C76A0
split-complementary
#902CA0 #76A02C #2CA056
monochromatic
#3A1240 #651F70 #902CA0 #B73FCA #C96FD7

Accessibility & contrast

On white

6.88
#902CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#902CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CA0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CA0#FFFFFF#000000##FFFFFF
##902CA01.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#3B5E9D
Tritanopia (blue-blind)
#924163
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902ca0;
/* rgb */ color: rgb(144, 44, 160);
/* oklch */ color: oklch(49.3% 0.191 321.8);
Tailwind
colors: {
  custom: {
    50: '#b46fbd',
    500: '#902ca0',
    950: '#000000',
  },
}
SCSS
$custom: #902ca0;
$custom-light: #b46fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#902ca0",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 291.724,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.19137,
    "h": 321.8
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#902CA0
secondary
#75BF69
accent
#E0485D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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