#7223AD#7223AD

#7223AD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.203 H 305.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7223AD
RGBrgb(114, 35, 173)
HSLhsl(274, 66%, 41%)
HSVhsv(274, 80%, 68%)
CMYKcmyk(34.1%, 79.8%, 0%, 32.2%)
CIE-LABlab(33.56, 57.09, -58.08)
CIE-LCHlch(33.56, 81.44, 314.51°)
OKLaboklab(45.32% 0.1173 -0.1655)
OKLCHoklch(45.32% 0.203 305.3)
XYZxyz(15.0816, 7.7967, 40.2375)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223AD #5EAD23
analogous
#2D23AD #7223AD #AD23A3
triadic
#7223AD #AD7223 #23AD72
tetradic
#7223AD #AD2D23 #5EAD23 #23A3AD
square
#7223AD #AD2D23 #5EAD23 #23A3AD
split-complementary
#7223AD #A3AD23 #23AD2D
monochromatic
#2F0E47 #50197A #7223AD #9237D6 #AE6AE1

Accessibility & contrast

On white

8.21
#7223AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7223AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223AD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223AD#FFFFFF#000000##FFFFFF
##7223AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#674868
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7223ad;
/* rgb */ color: rgb(114, 35, 173);
/* oklch */ color: oklch(45.3% 0.203 305.3);
Tailwind
colors: {
  custom: {
    50: '#a068c6',
    500: '#7223ad',
    950: '#000000',
  },
}
SCSS
$custom: #7223ad;
$custom-light: #a068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7223ad",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 274.348,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.20281,
    "h": 305.3
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#7223AD
secondary
#8FC765
accent
#E93F88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7223AD

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

Preview Lab → · Contrast checker → · Palette generator →

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