#7223AA#7223AA

#7223AA is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.200 H 306.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7223AA
RGBrgb(114, 35, 170)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 79%, 67%)
CMYKcmyk(32.9%, 79.4%, 0%, 33.3%)
CIE-LABlab(33.31, 56.41, -56.68)
CIE-LCHlch(33.31, 79.97, 314.86°)
OKLaboklab(45.07% 0.118 -0.1614)
OKLCHoklch(45.07% 0.2 306.2)
XYZxyz(14.7946, 7.6819, 38.7258)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223AA #5BAA23
analogous
#2E23AA #7223AA #AA239F
triadic
#7223AA #AA7223 #23AA72
tetradic
#7223AA #AA2E23 #5BAA23 #239FAA
square
#7223AA #AA2E23 #5BAA23 #239FAA
split-complementary
#7223AA #9FAA23 #23AA2E
monochromatic
#2E0E44 #501977 #7223AA #9335D5 #AE68E0

Accessibility & contrast

On white

8.28
#7223AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7223AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7223AA#FFFFFF#000000##FFFFFF
##7223AA1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#684667
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7223aa;
/* rgb */ color: rgb(114, 35, 170);
/* oklch */ color: oklch(45.1% 0.200 306.2);
Tailwind
colors: {
  custom: {
    50: '#a068c4',
    500: '#7223aa',
    950: '#000000',
  },
}
SCSS
$custom: #7223aa;
$custom-light: #a068c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7223aa",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 275.111,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.19993,
    "h": 306.2
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7223AA

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

Preview Lab → · Contrast checker → · Palette generator →

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