#902EC9#902EC9

#902EC9 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.4% C 0.226 H 309.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#902EC9
RGBrgb(144, 46, 201)
HSLhsl(278, 63%, 48%)
HSVhsv(278, 77%, 79%)
CMYKcmyk(28.4%, 77.1%, 0%, 21.2%)
CIE-LABlab(41.38, 64.35, -61.67)
CIE-LCHlch(41.38, 89.13, 316.22°)
OKLaboklab(52.37% 0.1428 -0.1751)
OKLCHoklch(52.37% 0.226 309.2)
XYZxyz(23.0191, 12.1008, 56.3701)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EC9 #67C92E
analogous
#422EC9 #902EC9 #C92EB4
triadic
#902EC9 #C9902E #2EC990
tetradic
#902EC9 #C9422E #67C92E #2EB4C9
square
#902EC9 #C9422E #67C92E #2EB4C9
split-complementary
#902EC9 #B4C92E #2EC942
monochromatic
#491765 #6C2397 #902EC9 #AB5BD9 #C48DE5

Accessibility & contrast

On white

6.14
#902EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#902EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EC9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EC9#FFFFFF#000000##FFFFFF
##902EC91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#87557B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #902ec9;
/* rgb */ color: rgb(144, 46, 201);
/* oklch */ color: oklch(52.4% 0.226 309.2);
Tailwind
colors: {
  custom: {
    50: '#b672da',
    500: '#902ec9',
    950: '#000000',
  },
}
SCSS
$custom: #902ec9;
$custom-light: #b672da;
$custom-dark: #000000;
JSON
{
  "hex": "#902ec9",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 277.935,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.22594,
    "h": 309.2
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#902EC9
secondary
#9FCF84
accent
#E6427E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #902EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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