#9223D4#9223D4

#9223D4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.7% C 0.246 H 307.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9223D4
RGBrgb(146, 35, 212)
HSLhsl(278, 72%, 48%)
HSVhsv(278, 83%, 83%)
CMYKcmyk(31.1%, 83.5%, 0%, 16.9%)
CIE-LABlab(41.32, 70.42, -68.11)
CIE-LCHlch(41.32, 97.97, 315.96°)
OKLaboklab(52.65% 0.1507 -0.1938)
OKLCHoklch(52.65% 0.246 307.9)
XYZxyz(24.3362, 12.0669, 63.3217)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9223D4 #65D423
analogous
#3923D4 #9223D4 #D423BD
triadic
#9223D4 #D49223 #23D492
tetradic
#9223D4 #D43923 #65D423 #23BDD4
square
#9223D4 #D43923 #65D423 #23BDD4
split-complementary
#9223D4 #BDD423 #23D439
monochromatic
#4A126B #6E1A9F #9223D4 #AC52E2 #C686EB

Accessibility & contrast

On white

6.15
#9223D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9223D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9223D4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9223D4#FFFFFF#000000##FFFFFF
##9223D41.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#87557F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9223d4;
/* rgb */ color: rgb(146, 35, 212);
/* oklch */ color: oklch(52.7% 0.246 307.9);
Tailwind
colors: {
  custom: {
    50: '#b86ee2',
    500: '#9223d4',
    950: '#000000',
  },
}
SCSS
$custom: #9223d4;
$custom-light: #b86ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#9223d4",
  "rgb": {
    "r": 146,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 277.627,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.24554,
    "h": 307.9
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#9223D4
secondary
#9ED47E
accent
#EE397D
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #9223D4

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

Preview Lab → · Contrast checker → · Palette generator →

#9223D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva