#7226A5#7226A5

#7226A5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.192 H 307.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7226A5
RGBrgb(114, 38, 165)
HSLhsl(276, 63%, 40%)
HSVhsv(276, 77%, 65%)
CMYKcmyk(30.9%, 77%, 0%, 35.3%)
CIE-LABlab(33.31, 54.15, -53.68)
CIE-LCHlch(33.31, 76.25, 315.25°)
OKLaboklab(44.95% 0.1167 -0.1526)
OKLCHoklch(44.95% 0.192 307.4)
XYZxyz(14.4226, 7.6804, 36.3127)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226A5 #59A526
analogous
#3326A5 #7226A5 #A52698
triadic
#7226A5 #A57226 #26A572
tetradic
#7226A5 #A53326 #59A526 #2698A5
square
#7226A5 #A53326 #59A526 #2698A5
split-complementary
#7226A5 #98A526 #26A533
monochromatic
#2D0F42 #501B73 #7226A5 #9337D1 #AE69DC

Accessibility & contrast

On white

8.28
#7226A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7226A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7226A5#FFFFFF#000000##FFFFFF
##7226A51.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)
#004CA9
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#694664
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7226a5;
/* rgb */ color: rgb(114, 38, 165);
/* oklch */ color: oklch(44.9% 0.192 307.4);
Tailwind
colors: {
  custom: {
    50: '#a069c1',
    500: '#7226a5',
    950: '#000000',
  },
}
SCSS
$custom: #7226a5;
$custom-light: #a069c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7226a5",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 275.906,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.19205,
    "h": 307.4
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#7226A5
secondary
#8AC364
accent
#E64284
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7226A5

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

Preview Lab → · Contrast checker → · Palette generator →

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