#9229DE#9229DE

#9229DE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.9% C 0.250 H 305.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9229DE
RGBrgb(146, 41, 222)
HSLhsl(275, 73%, 52%)
HSVhsv(275, 82%, 87%)
CMYKcmyk(34.2%, 81.5%, 0%, 12.9%)
CIE-LABlab(42.72, 70.76, -71.57)
CIE-LCHlch(42.72, 100.64, 314.67°)
OKLaboklab(53.87% 0.144 -0.204)
OKLCHoklch(53.87% 0.25 305.2)
XYZxyz(25.8288, 12.9710, 70.2360)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229DE #75DE29
analogous
#3829DE #9229DE #DE29CF
triadic
#9229DE #DE9229 #29DE92
tetradic
#9229DE #DE3829 #75DE29 #29CFDE
square
#9229DE #DE3829 #75DE29 #29CFDE
split-complementary
#9229DE #CFDE29 #29DE38
monochromatic
#4F137A #711BAF #9229DE #AD5EE6 #C893EE

Accessibility & contrast

On white

5.84
#9229DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9229DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229DE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229DE#FFFFFF#000000##FFFFFF
##9229DE1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E3
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#835C86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9229de;
/* rgb */ color: rgb(146, 41, 222);
/* oklch */ color: oklch(53.9% 0.250 305.2);
Tailwind
colors: {
  custom: {
    50: '#b971e9',
    500: '#9229de',
    950: '#000000',
  },
}
SCSS
$custom: #9229de;
$custom-light: #b971e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9229de",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 222
  },
  "hsl": {
    "h": 274.807,
    "s": 73.279,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.24973,
    "h": 305.2
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#9229DE
secondary
#ABD98A
accent
#F03885
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9229DE

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

Preview Lab → · Contrast checker → · Palette generator →

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