#902E9C#902E9C

#902E9C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.185 H 323.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#902E9C
RGBrgb(144, 46, 156)
HSLhsl(293, 54%, 40%)
HSVhsv(293, 71%, 61%)
CMYKcmyk(7.7%, 70.5%, 0%, 38.8%)
CIE-LABlab(38.35, 55.39, -39.90)
CIE-LCHlch(38.35, 68.27, 324.24°)
OKLaboklab(49.26% 0.1485 -0.1112)
OKLCHoklch(49.26% 0.186 323.2)
XYZxyz(18.4788, 10.2847, 32.4579)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E9C #3A9C2E
analogous
#592E9C #902E9C #9C2E71
triadic
#902E9C #9C902E #2E9C90
tetradic
#902E9C #9C592E #3A9C2E #2E719C
square
#902E9C #9C592E #3A9C2E #2E719C
split-complementary
#902E9C #719C2E #2E9C59
monochromatic
#39123D #64206D #902E9C #B840C7 #CA70D5

Accessibility & contrast

On white

6.87
#902E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902E9C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E9C#FFFFFF#000000##FFFFFF
##902E9C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A539F
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#924162
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902e9c;
/* rgb */ color: rgb(144, 46, 156);
/* oklch */ color: oklch(49.3% 0.185 323.2);
Tailwind
colors: {
  custom: {
    50: '#b470ba',
    500: '#902e9c',
    950: '#000000',
  },
}
SCSS
$custom: #902e9c;
$custom-light: #b470ba;
$custom-dark: #000000;
JSON
{
  "hex": "#902e9c",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 293.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4926,
    "c": 0.1855,
    "h": 323.2
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#902E9C
secondary
#73BC6A
accent
#DE4A5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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