#9022AF#9022AF

#9022AF is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.214 H 317.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9022AF
RGBrgb(144, 34, 175)
HSLhsl(287, 67%, 41%)
HSVhsv(287, 81%, 69%)
CMYKcmyk(17.7%, 80.6%, 0%, 31.4%)
CIE-LABlab(38.14, 63.07, -51.62)
CIE-LCHlch(38.14, 81.50, 320.70°)
OKLaboklab(49.51% 0.1575 -0.1455)
OKLCHoklch(49.51% 0.214 317.3)
XYZxyz(19.8103, 10.1694, 41.4685)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9022AF #41AF22
analogous
#4A22AF #9022AF #AF2287
triadic
#9022AF #AF9022 #22AF90
tetradic
#9022AF #AF4A22 #41AF22 #2287AF
square
#9022AF #AF4A22 #41AF22 #2287AF
split-complementary
#9022AF #87AF22 #22AF4A
monochromatic
#3C0E49 #66187C #9022AF #B436D8 #C769E2

Accessibility & contrast

On white

6.92
#9022AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9022AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9022AF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9022AF#FFFFFF#000000##FFFFFF
##9022AF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#8E4369
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9022af;
/* rgb */ color: rgb(144, 34, 175);
/* oklch */ color: oklch(49.5% 0.214 317.3);
Tailwind
colors: {
  custom: {
    50: '#b56cc8',
    500: '#9022af',
    950: '#000000',
  },
}
SCSS
$custom: #9022af;
$custom-light: #b56cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9022af",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 286.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.21436,
    "h": 317.3
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#9022AF
secondary
#7BC865
accent
#EA3D63
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9022AF

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

Preview Lab → · Contrast checker → · Palette generator →

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