#902CB3#902CB3

#902CB3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.208 H 315.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#902CB3
RGBrgb(144, 44, 179)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 75%, 70%)
CMYKcmyk(19.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(39.56, 60.57, -51.71)
CIE-LCHlch(39.56, 79.64, 319.51°)
OKLaboklab(50.59% 0.1485 -0.1458)
OKLCHoklch(50.59% 0.208 315.5)
XYZxyz(20.5377, 10.9861, 43.6778)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB3 #4FB32C
analogous
#4C2CB3 #902CB3 #B32C92
triadic
#902CB3 #B3902C #2CB390
tetradic
#902CB3 #B34C2C #4FB32C #2C92B3
square
#902CB3 #B34C2C #4FB32C #2C92B3
split-complementary
#902CB3 #92B32C #2CB34C
monochromatic
#411451 #682082 #902CB3 #AF4AD2 #C57BDF

Accessibility & contrast

On white

6.57
#902CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#902CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB3#FFFFFF#000000##FFFFFF
##902CB31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#8D4A6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902cb3;
/* rgb */ color: rgb(144, 44, 179);
/* oklch */ color: oklch(50.6% 0.208 315.5);
Tailwind
colors: {
  custom: {
    50: '#b570ca',
    500: '#902cb3',
    950: '#000000',
  },
}
SCSS
$custom: #902cb3;
$custom-light: #b570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb3",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 284.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.2081,
    "h": 315.5
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#902CB3
secondary
#89C774
accent
#E4446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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