#902DBB#902DBB

#902DBB is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.214 H 313.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#902DBB
RGBrgb(144, 45, 187)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 73%)
CMYKcmyk(23%, 75.9%, 0%, 26.7%)
CIE-LABlab(40.24, 61.81, -55.33)
CIE-LCHlch(40.24, 82.96, 318.17°)
OKLaboklab(51.25% 0.1464 -0.1564)
OKLCHoklch(51.25% 0.214 313.1)
XYZxyz(21.4080, 11.3946, 48.0757)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DBB #58BB2D
analogous
#492DBB #902DBB #BB2D9F
triadic
#902DBB #BB902D #2DBB90
tetradic
#902DBB #BB492D #58BB2D #2D9FBB
square
#902DBB #BB492D #58BB2D #2D9FBB
split-complementary
#902DBB #9FBB2D #2DBB49
monochromatic
#441558 #6A218A #902DBB #AD50D5 #C482E1

Accessibility & contrast

On white

6.40
#902DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#902DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DBB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DBB#FFFFFF#000000##FFFFFF
##902DBB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902dbb;
/* rgb */ color: rgb(144, 45, 187);
/* oklch */ color: oklch(51.2% 0.214 313.1);
Tailwind
colors: {
  custom: {
    50: '#b571d0',
    500: '#902dbb',
    950: '#000000',
  },
}
SCSS
$custom: #902dbb;
$custom-light: #b571d0;
$custom-dark: #000000;
JSON
{
  "hex": "#902dbb",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 281.831,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.21422,
    "h": 313.1
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#902DBB
secondary
#92CA7A
accent
#E44374
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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