#902F9A#902F9A

#902F9A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.183 H 323.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#902F9A
RGBrgb(144, 47, 154)
HSLhsl(294, 53%, 39%)
HSVhsv(294, 69%, 60%)
CMYKcmyk(6.5%, 69.5%, 0%, 39.6%)
CIE-LABlab(38.37, 54.63, -38.66)
CIE-LCHlch(38.37, 66.92, 324.72°)
OKLaboklab(49.24% 0.1474 -0.1076)
OKLCHoklch(49.24% 0.183 323.9)
XYZxyz(18.3503, 10.2965, 31.5865)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F9A #399A2F
analogous
#5B2F9A #902F9A #9A2F6E
triadic
#902F9A #9A902F #2F9A90
tetradic
#902F9A #9A5B2F #399A2F #2F6E9A
square
#902F9A #9A5B2F #399A2F #2F6E9A
split-complementary
#902F9A #6E9A2F #2F9A5B
monochromatic
#38123C #64216B #902F9A #B941C5 #CA70D3

Accessibility & contrast

On white

6.86
#902F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#902F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902F9A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F9A#FFFFFF#000000##FFFFFF
##902F9A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#934161
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902f9a;
/* rgb */ color: rgb(144, 47, 154);
/* oklch */ color: oklch(49.2% 0.183 323.9);
Tailwind
colors: {
  custom: {
    50: '#b470b8',
    500: '#902f9a',
    950: '#000000',
  },
}
SCSS
$custom: #902f9a;
$custom-light: #b470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#902f9a",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 294.393,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.18251,
    "h": 323.9
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#902F9A
secondary
#71BB6A
accent
#DD4B59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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