#902DBC#902DBC

#902DBC is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.215 H 312.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#902DBC
RGBrgb(144, 45, 188)
HSLhsl(282, 61%, 46%)
HSVhsv(282, 76%, 74%)
CMYKcmyk(23.4%, 76.1%, 0%, 26.3%)
CIE-LABlab(40.31, 62.02, -55.81)
CIE-LCHlch(40.31, 83.43, 318.02°)
OKLaboklab(51.32% 0.1462 -0.1578)
OKLCHoklch(51.32% 0.215 312.8)
XYZxyz(21.5155, 11.4376, 48.6415)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DBC #59BC2D
analogous
#482DBC #902DBC #BC2DA0
triadic
#902DBC #BC902D #2DBC90
tetradic
#902DBC #BC482D #59BC2D #2DA0BC
square
#902DBC #BC482D #59BC2D #2DA0BC
split-complementary
#902DBC #A0BC2D #2DBC48
monochromatic
#441559 #6A218B #902DBC #AD51D5 #C482E1

Accessibility & contrast

On white

6.39
#902DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#902DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DBC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DBC#FFFFFF#000000##FFFFFF
##902DBC1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#8B4E73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902dbc;
/* rgb */ color: rgb(144, 45, 188);
/* oklch */ color: oklch(51.3% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#b571d1',
    500: '#902dbc',
    950: '#000000',
  },
}
SCSS
$custom: #902dbc;
$custom-light: #b571d1;
$custom-dark: #000000;
JSON
{
  "hex": "#902dbc",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 281.538,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.21513,
    "h": 312.8
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#902DBC
secondary
#93CA7B
accent
#E44375
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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