#7223A9#7223A9

#7223A9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 45.0% C 0.199 H 306.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7223A9
RGBrgb(114, 35, 169)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(32.5%, 79.3%, 0%, 33.7%)
CIE-LABlab(33.23, 56.19, -56.21)
CIE-LCHlch(33.23, 79.48, 314.99°)
OKLaboklab(44.99% 0.1183 -0.16)
OKLCHoklch(44.99% 0.199 306.5)
XYZxyz(14.7003, 7.6442, 38.2295)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223A9 #5AA923
analogous
#2F23A9 #7223A9 #A9239D
triadic
#7223A9 #A97223 #23A972
tetradic
#7223A9 #A92F23 #5AA923 #239DA9
square
#7223A9 #A92F23 #5AA923 #239DA9
split-complementary
#7223A9 #9DA923 #23A92F
monochromatic
#2E0E44 #501976 #7223A9 #9334D5 #AE67DF

Accessibility & contrast

On white

8.30
#7223A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7223A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223A9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223A9#FFFFFF#000000##FFFFFF
##7223A91.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#684666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7223a9;
/* rgb */ color: rgb(114, 35, 169);
/* oklch */ color: oklch(45.0% 0.199 306.5);
Tailwind
colors: {
  custom: {
    50: '#a068c3',
    500: '#7223a9',
    950: '#000000',
  },
}
SCSS
$custom: #7223a9;
$custom-light: #a068c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7223a9",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 275.373,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.19896,
    "h": 306.5
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#7223A9
secondary
#8BC563
accent
#E93F85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7223A9

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

Preview Lab → · Contrast checker → · Palette generator →

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