#902DD3#902DD3

#902DD3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.1% C 0.236 H 306.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#902DD3
RGBrgb(144, 45, 211)
HSLhsl(276, 65%, 50%)
HSVhsv(276, 79%, 83%)
CMYKcmyk(31.8%, 78.7%, 0%, 17.3%)
CIE-LABlab(42.01, 66.82, -66.42)
CIE-LCHlch(42.01, 94.21, 315.17°)
OKLaboklab(53.05% 0.1414 -0.189)
OKLCHoklch(53.05% 0.236 306.8)
XYZxyz(24.1953, 12.5095, 62.7553)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DD3 #70D32D
analogous
#3D2DD3 #902DD3 #D32DC3
triadic
#902DD3 #D3902D #2DD390
tetradic
#902DD3 #D33D2D #70D32D #2DC3D3
square
#902DD3 #D33D2D #70D32D #2DC3D3
split-complementary
#902DD3 #C3D32D #2DD33D
monochromatic
#4B176E #6E22A1 #902DD3 #AB60DE #C592E8

Accessibility & contrast

On white

6.00
#902DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#902DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DD3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DD3#FFFFFF#000000##FFFFFF
##902DD31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#845880
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #902dd3;
/* rgb */ color: rgb(144, 45, 211);
/* oklch */ color: oklch(53.1% 0.236 306.8);
Tailwind
colors: {
  custom: {
    50: '#b772e2',
    500: '#902dd3',
    950: '#000000',
  },
}
SCSS
$custom: #902dd3;
$custom-light: #b772e2;
$custom-dark: #000000;
JSON
{
  "hex": "#902dd3",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 275.783,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.23601,
    "h": 306.8
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#902DD3
secondary
#A7D389
accent
#E83F84
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #902DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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