#902AD3#902AD3

#902AD3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.8% C 0.239 H 307.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#902AD3
RGBrgb(144, 42, 211)
HSLhsl(276, 67%, 50%)
HSVhsv(276, 80%, 83%)
CMYKcmyk(31.8%, 80.1%, 0%, 17.3%)
CIE-LABlab(41.67, 67.82, -66.98)
CIE-LCHlch(41.67, 95.32, 315.36°)
OKLaboklab(52.81% 0.1436 -0.1906)
OKLCHoklch(52.81% 0.239 307)
XYZxyz(24.0849, 12.2887, 62.7185)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AD3 #6DD32A
analogous
#3C2AD3 #902AD3 #D32AC2
triadic
#902AD3 #D3902A #2AD390
tetradic
#902AD3 #D33C2A #6DD32A #2AC2D3
square
#902AD3 #D33C2A #6DD32A #2AC2D3
split-complementary
#902AD3 #C2D32A #2AD33C
monochromatic
#4A166D #6D20A0 #902AD3 #AB5CDE #C58FE9

Accessibility & contrast

On white

6.07
#902AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#902AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AD3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AD3#FFFFFF#000000##FFFFFF
##902AD31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#845780
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #902ad3;
/* rgb */ color: rgb(144, 42, 211);
/* oklch */ color: oklch(52.8% 0.239 307.0);
Tailwind
colors: {
  custom: {
    50: '#b771e2',
    500: '#902ad3',
    950: '#000000',
  },
}
SCSS
$custom: #902ad3;
$custom-light: #b771e2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ad3",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 211
  },
  "hsl": {
    "h": 276.213,
    "s": 66.798,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.23866,
    "h": 307
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#902AD3
secondary
#A4D386
accent
#EA3E82
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120815
muted
#817B84

Preview Lab

Preview with #902AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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