#902F9C#902F9C

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

Color values

HEX#902F9C
RGBrgb(144, 47, 156)
HSLhsl(293, 54%, 40%)
HSVhsv(293, 70%, 61%)
CMYKcmyk(7.7%, 69.9%, 0%, 38.8%)
CIE-LABlab(38.49, 55.00, -39.68)
CIE-LCHlch(38.49, 67.82, 324.19°)
OKLaboklab(49.36% 0.1474 -0.1106)
OKLCHoklch(49.36% 0.184 323.1)
XYZxyz(18.5183, 10.3637, 32.4710)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F9C #3B9C2F
analogous
#592F9C #902F9C #9C2F72
triadic
#902F9C #9C902F #2F9C90
tetradic
#902F9C #9C592F #3B9C2F #2F729C
square
#902F9C #9C592F #3B9C2F #2F729C
split-complementary
#902F9C #729C2F #2F9C59
monochromatic
#39133E #65216D #902F9C #B842C6 #C971D4

Accessibility & contrast

On white

6.83
#902F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#902F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902F9C
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F9C#FFFFFF#000000##FFFFFF
##902F9C1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#924162
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902f9c;
/* rgb */ color: rgb(144, 47, 156);
/* oklch */ color: oklch(49.4% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#b470ba',
    500: '#902f9c',
    950: '#000000',
  },
}
SCSS
$custom: #902f9c;
$custom-light: #b470ba;
$custom-dark: #000000;
JSON
{
  "hex": "#902f9c",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 293.394,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.18426,
    "h": 323.1
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#902F9C
secondary
#74BC6B
accent
#DD4B5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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