#7223A5#7223A5

#7223A5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.195 H 307.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7223A5
RGBrgb(114, 35, 165)
HSLhsl(276, 65%, 39%)
HSVhsv(276, 79%, 65%)
CMYKcmyk(30.9%, 78.8%, 0%, 35.3%)
CIE-LABlab(32.91, 55.30, -54.33)
CIE-LCHlch(32.91, 77.52, 315.51°)
OKLaboklab(44.67% 0.1193 -0.1544)
OKLCHoklch(44.67% 0.195 307.7)
XYZxyz(14.3306, 7.4963, 36.2820)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223A5 #56A523
analogous
#3123A5 #7223A5 #A52397
triadic
#7223A5 #A57223 #23A572
tetradic
#7223A5 #A53123 #56A523 #2397A5
square
#7223A5 #A53123 #56A523 #2397A5
split-complementary
#7223A5 #97A523 #23A531
monochromatic
#2C0E40 #4F1873 #7223A5 #9432D3 #AE64DE

Accessibility & contrast

On white

8.40
#7223A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7223A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223A5
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223A5#FFFFFF#000000##FFFFFF
##7223A51.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#6A4464
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7223a5;
/* rgb */ color: rgb(114, 35, 165);
/* oklch */ color: oklch(44.7% 0.195 307.7);
Tailwind
colors: {
  custom: {
    50: '#a068c1',
    500: '#7223a5',
    950: '#000000',
  },
}
SCSS
$custom: #7223a5;
$custom-light: #a068c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7223a5",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 276.462,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.19513,
    "h": 307.7
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#7223A5
secondary
#87C460
accent
#E84082
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7223A5

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

Preview Lab → · Contrast checker → · Palette generator →

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