#7223AC#7223AC

#7223AC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.202 H 305.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7223AC
RGBrgb(114, 35, 172)
HSLhsl(275, 66%, 41%)
HSVhsv(275, 80%, 67%)
CMYKcmyk(33.7%, 79.7%, 0%, 32.5%)
CIE-LABlab(33.47, 56.86, -57.62)
CIE-LCHlch(33.47, 80.95, 314.62°)
OKLaboklab(45.24% 0.1175 -0.1641)
OKLCHoklch(45.24% 0.202 305.6)
XYZxyz(14.9852, 7.7581, 39.7298)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223AC #5DAC23
analogous
#2E23AC #7223AC #AC23A1
triadic
#7223AC #AC7223 #23AC72
tetradic
#7223AC #AC2E23 #5DAC23 #23A1AC
square
#7223AC #AC2E23 #5DAC23 #23A1AC
split-complementary
#7223AC #A1AC23 #23AC2E
monochromatic
#2F0E46 #501979 #7223AC #9236D6 #AE69E0

Accessibility & contrast

On white

8.23
#7223AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7223AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223AC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223AC#FFFFFF#000000##FFFFFF
##7223AC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#674768
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7223ac;
/* rgb */ color: rgb(114, 35, 172);
/* oklch */ color: oklch(45.2% 0.202 305.6);
Tailwind
colors: {
  custom: {
    50: '#a068c6',
    500: '#7223ac',
    950: '#000000',
  },
}
SCSS
$custom: #7223ac;
$custom-light: #a068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7223ac",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 274.599,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.20184,
    "h": 305.6
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#7223AC
secondary
#8EC664
accent
#E93F87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7223AC

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

Preview Lab → · Contrast checker → · Palette generator →

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