#902E9F#902E9F

#902E9F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.188 H 322.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#902E9F
RGBrgb(144, 46, 159)
HSLhsl(292, 55%, 40%)
HSVhsv(292, 71%, 62%)
CMYKcmyk(9.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(38.53, 55.95, -41.42)
CIE-LCHlch(38.53, 69.62, 323.49°)
OKLaboklab(49.45% 0.1484 -0.1157)
OKLCHoklch(49.45% 0.188 322.1)
XYZxyz(18.7359, 10.3875, 33.8123)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E9F #3D9F2E
analogous
#572E9F #902E9F #9F2E76
triadic
#902E9F #9F902E #2E9F90
tetradic
#902E9F #9F572E #3D9F2E #2E769F
square
#902E9F #9F572E #3D9F2E #2E769F
split-complementary
#902E9F #769F2E #2E9F57
monochromatic
#3A1340 #652070 #902E9F #B642C8 #C971D6

Accessibility & contrast

On white

6.82
#902E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#902E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902E9F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E9F#FFFFFF#000000##FFFFFF
##902E9F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0154A2
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#924263
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902e9f;
/* rgb */ color: rgb(144, 46, 159);
/* oklch */ color: oklch(49.4% 0.188 322.1);
Tailwind
colors: {
  custom: {
    50: '#b470bc',
    500: '#902e9f',
    950: '#000000',
  },
}
SCSS
$custom: #902e9f;
$custom-light: #b470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#902e9f",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 292.035,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.18812,
    "h": 322.1
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#902E9F
secondary
#76BE6B
accent
#DE495D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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