#902CB0#902CB0

#902CB0 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.205 H 316.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#902CB0
RGBrgb(144, 44, 176)
HSLhsl(285, 60%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.2%, 75%, 0%, 31%)
CIE-LABlab(39.35, 59.97, -50.26)
CIE-LCHlch(39.35, 78.25, 320.03°)
OKLaboklab(50.38% 0.1489 -0.1415)
OKLCHoklch(50.38% 0.205 316.4)
XYZxyz(20.2376, 10.8661, 42.0972)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB0 #4CB02C
analogous
#4E2CB0 #902CB0 #B02C8E
triadic
#902CB0 #B0902C #2CB090
tetradic
#902CB0 #B04E2C #4CB02C #2C8EB0
square
#902CB0 #B04E2C #4CB02C #2C8EB0
split-complementary
#902CB0 #8EB02C #2CB04E
monochromatic
#40144E #68207F #902CB0 #B048D1 #C579DD

Accessibility & contrast

On white

6.62
#902CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB0#FFFFFF#000000##FFFFFF
##902CB01.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#8E486C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902cb0;
/* rgb */ color: rgb(144, 44, 176);
/* oklch */ color: oklch(50.4% 0.205 316.4);
Tailwind
colors: {
  custom: {
    50: '#b570c8',
    500: '#902cb0',
    950: '#000000',
  },
}
SCSS
$custom: #902cb0;
$custom-light: #b570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb0",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 285.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.20542,
    "h": 316.4
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#902CB0
secondary
#86C672
accent
#E3456B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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