#7223D4#7223D4

#7223D4 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.7% C 0.240 H 295.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7223D4
RGBrgb(114, 35, 212)
HSLhsl(267, 72%, 48%)
HSVhsv(267, 83%, 83%)
CMYKcmyk(46.2%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.99, 66.09, -75.38)
CIE-LCHlch(36.99, 100.25, 311.25°)
OKLaboklab(48.75% 0.1049 -0.2162)
OKLCHoklch(48.75% 0.24 295.9)
XYZxyz(19.4209, 9.5324, 63.0913)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223D4 #85D423
analogous
#232CD4 #7223D4 #CA23D4
triadic
#7223D4 #D47223 #23D472
tetradic
#7223D4 #D4232C #85D423 #23D4CA
square
#7223D4 #D4232C #85D423 #23D4CA
split-complementary
#7223D4 #D4CA23 #2CD423
monochromatic
#3A126B #561A9F #7223D4 #9252E2 #B386EB

Accessibility & contrast

On white

7.22
#7223D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7223D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223D4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223D4#FFFFFF#000000##FFFFFF
##7223D41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#56597F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7223d4;
/* rgb */ color: rgb(114, 35, 212);
/* oklch */ color: oklch(48.7% 0.240 295.9);
Tailwind
colors: {
  custom: {
    50: '#a46ae3',
    500: '#7223d4',
    950: '#000000',
  },
}
SCSS
$custom: #7223d4;
$custom-light: #a46ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7223d4",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 266.78,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.2403,
    "h": 295.9
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#7223D4
secondary
#AED47E
accent
#EE399E
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #7223D4

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

Preview Lab → · Contrast checker → · Palette generator →

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