#902CB2#902CB2

#902CB2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.207 H 315.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#902CB2
RGBrgb(144, 44, 178)
HSLhsl(285, 60%, 44%)
HSVhsv(285, 75%, 70%)
CMYKcmyk(19.1%, 75.3%, 0%, 30.2%)
CIE-LABlab(39.49, 60.37, -51.23)
CIE-LCHlch(39.49, 79.18, 319.68°)
OKLaboklab(50.52% 0.1486 -0.1444)
OKLCHoklch(50.52% 0.207 315.8)
XYZxyz(20.4369, 10.9458, 43.1471)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB2 #4EB22C
analogous
#4D2CB2 #902CB2 #B22C91
triadic
#902CB2 #B2902C #2CB290
tetradic
#902CB2 #B24D2C #4EB22C #2C91B2
square
#902CB2 #B24D2C #4EB22C #2C91B2
split-complementary
#902CB2 #91B22C #2CB24D
monochromatic
#411450 #682081 #902CB2 #AF49D2 #C57ADE

Accessibility & contrast

On white

6.59
#902CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#902CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB2#FFFFFF#000000##FFFFFF
##902CB21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#8E496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902cb2;
/* rgb */ color: rgb(144, 44, 178);
/* oklch */ color: oklch(50.5% 0.207 315.8);
Tailwind
colors: {
  custom: {
    50: '#b570ca',
    500: '#902cb2',
    950: '#000000',
  },
}
SCSS
$custom: #902cb2;
$custom-light: #b570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb2",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 284.776,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.2072,
    "h": 315.8
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#902CB2
secondary
#88C673
accent
#E4446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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