#7223A8#7223A8

#7223A8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.198 H 306.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7223A8
RGBrgb(114, 35, 168)
HSLhsl(276, 66%, 40%)
HSVhsv(276, 79%, 66%)
CMYKcmyk(32.1%, 79.2%, 0%, 34.1%)
CIE-LABlab(33.15, 55.97, -55.74)
CIE-LCHlch(33.15, 78.99, 315.11°)
OKLaboklab(44.91% 0.1185 -0.1586)
OKLCHoklch(44.91% 0.198 306.8)
XYZxyz(14.6068, 7.6068, 37.7370)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223A8 #59A823
analogous
#3023A8 #7223A8 #A8239C
triadic
#7223A8 #A87223 #23A872
tetradic
#7223A8 #A83023 #59A823 #239CA8
square
#7223A8 #A83023 #59A823 #239CA8
split-complementary
#7223A8 #9CA823 #23A830
monochromatic
#2D0E43 #501875 #7223A8 #9334D5 #AE66DF

Accessibility & contrast

On white

8.33
#7223A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7223A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223A8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223A8#FFFFFF#000000##FFFFFF
##7223A81.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#694565
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7223a8;
/* rgb */ color: rgb(114, 35, 168);
/* oklch */ color: oklch(44.9% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#a068c3',
    500: '#7223a8',
    950: '#000000',
  },
}
SCSS
$custom: #7223a8;
$custom-light: #a068c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7223a8",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 275.639,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44911,
    "c": 0.19801,
    "h": 306.8
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#7223A8
secondary
#8AC562
accent
#E83F84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7223A8

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

Preview Lab → · Contrast checker → · Palette generator →

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