#902DBF#902DBF

#902DBF is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.218 H 312.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#902DBF
RGBrgb(144, 45, 191)
HSLhsl(281, 62%, 46%)
HSVhsv(281, 76%, 75%)
CMYKcmyk(24.6%, 76.4%, 0%, 25.1%)
CIE-LABlab(40.52, 62.63, -57.22)
CIE-LCHlch(40.52, 84.83, 317.58°)
OKLaboklab(51.54% 0.1457 -0.162)
OKLCHoklch(51.54% 0.218 312)
XYZxyz(21.8422, 11.5683, 50.3624)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DBF #5CBF2D
analogous
#472DBF #902DBF #BF2DA5
triadic
#902DBF #BF902D #2DBF90
tetradic
#902DBF #BF472D #5CBF2D #2DA5BF
square
#902DBF #BF472D #5CBF2D #2DA5BF
split-complementary
#902DBF #A5BF2D #2DBF47
monochromatic
#45165C #6B218D #902DBF #AC53D6 #C484E2

Accessibility & contrast

On white

6.34
#902DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#902DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DBF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DBF#FFFFFF#000000##FFFFFF
##902DBF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#8A5075
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902dbf;
/* rgb */ color: rgb(144, 45, 191);
/* oklch */ color: oklch(51.5% 0.218 312.0);
Tailwind
colors: {
  custom: {
    50: '#b571d3',
    500: '#902dbf',
    950: '#000000',
  },
}
SCSS
$custom: #902dbf;
$custom-light: #b571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#902dbf",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 280.685,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.21783,
    "h": 312
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#902DBF
secondary
#96CB7C
accent
#E54377
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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