#9229AF#9229AF

#9229AF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.208 H 317.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9229AF
RGBrgb(146, 41, 175)
HSLhsl(287, 62%, 42%)
HSVhsv(287, 77%, 69%)
CMYKcmyk(16.6%, 76.6%, 0%, 31.4%)
CIE-LABlab(39.23, 61.23, -49.85)
CIE-LCHlch(39.23, 78.96, 320.85°)
OKLaboklab(50.33% 0.1542 -0.1403)
OKLCHoklch(50.33% 0.208 317.7)
XYZxyz(20.3838, 10.7929, 41.5587)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229AF #46AF29
analogous
#4F29AF #9229AF #AF2989
triadic
#9229AF #AF9229 #29AF92
tetradic
#9229AF #AF4F29 #46AF29 #2989AF
square
#9229AF #AF4F29 #46AF29 #2989AF
split-complementary
#9229AF #89AF29 #29AF4F
monochromatic
#3F124C #691D7D #9229AF #B442D3 #C774DE

Accessibility & contrast

On white

6.65
#9229AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9229AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229AF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229AF#FFFFFF#000000##FFFFFF
##9229AF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#91466B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9229af;
/* rgb */ color: rgb(146, 41, 175);
/* oklch */ color: oklch(50.3% 0.208 317.7);
Tailwind
colors: {
  custom: {
    50: '#b66fc8',
    500: '#9229af',
    950: '#000000',
  },
}
SCSS
$custom: #9229af;
$custom-light: #b66fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9229af",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 287.015,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.20844,
    "h": 317.7
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9229AF
secondary
#81C66E
accent
#E54366
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9229AF

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

Preview Lab → · Contrast checker → · Palette generator →

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