#9022C2#9022C2

#9022C2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.9% C 0.230 H 311.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9022C2
RGBrgb(144, 34, 194)
HSLhsl(281, 70%, 45%)
HSVhsv(281, 82%, 76%)
CMYKcmyk(25.8%, 82.5%, 0%, 23.9%)
CIE-LABlab(39.53, 66.76, -60.59)
CIE-LCHlch(39.53, 90.16, 317.77°)
OKLaboklab(50.91% 0.1535 -0.1718)
OKLCHoklch(50.91% 0.23 311.8)
XYZxyz(21.8094, 10.9690, 51.9968)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9022C2 #54C222
analogous
#4022C2 #9022C2 #C222A4
triadic
#9022C2 #C29022 #22C290
tetradic
#9022C2 #C24022 #54C222 #22A4C2
square
#9022C2 #C24022 #54C222 #22A4C2
split-complementary
#9022C2 #A4C222 #22C240
monochromatic
#43105A #69198E #9022C2 #AE43DE #C477E7

Accessibility & contrast

On white

6.58
#9022C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9022C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9022C2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9022C2#FFFFFF#000000##FFFFFF
##9022C21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#8A4C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9022c2;
/* rgb */ color: rgb(144, 34, 194);
/* oklch */ color: oklch(50.9% 0.230 311.8);
Tailwind
colors: {
  custom: {
    50: '#b66dd5',
    500: '#9022c2',
    950: '#000000',
  },
}
SCSS
$custom: #9022c2;
$custom-light: #b66dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9022c2",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 194
  },
  "hsl": {
    "h": 281.25,
    "s": 70.175,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.23039,
    "h": 311.8
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#9022C2
secondary
#8ECF71
accent
#ED3B73
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9022C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9022C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva