#902CB8#902CB8

#902CB8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.213 H 314.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#902CB8
RGBrgb(144, 44, 184)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 76%, 72%)
CMYKcmyk(21.7%, 76.1%, 0%, 27.8%)
CIE-LABlab(39.90, 61.57, -54.11)
CIE-LCHlch(39.90, 81.96, 318.69°)
OKLaboklab(50.94% 0.1477 -0.1528)
OKLCHoklch(50.94% 0.213 314)
XYZxyz(21.0525, 11.1921, 46.3894)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB8 #54B82C
analogous
#4A2CB8 #902CB8 #B82C9A
triadic
#902CB8 #B8902C #2CB890
tetradic
#902CB8 #B84A2C #54B82C #2C9AB8
square
#902CB8 #B84A2C #54B82C #2C9AB8
split-complementary
#902CB8 #9AB82C #2CB84A
monochromatic
#431455 #692087 #902CB8 #AE4DD4 #C47EE0

Accessibility & contrast

On white

6.49
#902CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#902CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB8#FFFFFF#000000##FFFFFF
##902CB81.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2160B5
Tritanopia (blue-blind)
#8C4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902cb8;
/* rgb */ color: rgb(144, 44, 184);
/* oklch */ color: oklch(50.9% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#b570ce',
    500: '#902cb8',
    950: '#000000',
  },
}
SCSS
$custom: #902cb8;
$custom-light: #b570ce;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb8",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 282.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.21257,
    "h": 314
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#902CB8
secondary
#8EC977
accent
#E54371
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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