#902F9E#902F9E

#902F9E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.186 H 322.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#902F9E
RGBrgb(144, 47, 158)
HSLhsl(292, 54%, 40%)
HSVhsv(292, 70%, 62%)
CMYKcmyk(8.9%, 70.3%, 0%, 38%)
CIE-LABlab(38.61, 55.38, -40.69)
CIE-LCHlch(38.61, 68.72, 323.69°)
OKLaboklab(49.48% 0.1473 -0.1136)
OKLCHoklch(49.48% 0.186 322.4)
XYZxyz(18.6890, 10.4320, 33.3703)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F9E #3D9E2F
analogous
#582F9E #902F9E #9E2F75
triadic
#902F9E #9E902F #2F9E90
tetradic
#902F9E #9E582F #3D9E2F #2F759E
square
#902F9E #9E582F #3D9E2F #2F759E
split-complementary
#902F9E #759E2F #2F9E58
monochromatic
#3A1340 #65216F #902F9E #B643C7 #C972D5

Accessibility & contrast

On white

6.80
#902F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#902F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902F9E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F9E#FFFFFF#000000##FFFFFF
##902F9E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#924263
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902f9e;
/* rgb */ color: rgb(144, 47, 158);
/* oklch */ color: oklch(49.5% 0.186 322.4);
Tailwind
colors: {
  custom: {
    50: '#b470bb',
    500: '#902f9e',
    950: '#000000',
  },
}
SCSS
$custom: #902f9e;
$custom-light: #b470bb;
$custom-dark: #000000;
JSON
{
  "hex": "#902f9e",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 292.432,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.18602,
    "h": 322.4
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#902F9E
secondary
#76BD6C
accent
#DE4A5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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