#7226A4#7226A4

#7226A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.191 H 307.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7226A4
RGBrgb(114, 38, 164)
HSLhsl(276, 62%, 40%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(30.5%, 76.8%, 0%, 35.7%)
CIE-LABlab(33.23, 53.93, -53.20)
CIE-LCHlch(33.23, 75.76, 315.39°)
OKLaboklab(44.87% 0.1169 -0.1512)
OKLCHoklch(44.87% 0.191 307.7)
XYZxyz(14.3320, 7.6442, 35.8352)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226A4 #58A426
analogous
#3326A4 #7226A4 #A42697
triadic
#7226A4 #A47226 #26A472
tetradic
#7226A4 #A43326 #58A426 #2697A4
square
#7226A4 #A43326 #58A426 #2697A4
split-complementary
#7226A4 #97A426 #26A433
monochromatic
#2D0F41 #4F1A72 #7226A4 #9337D1 #AE68DC

Accessibility & contrast

On white

8.30
#7226A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7226A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226A4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226A4#FFFFFF#000000##FFFFFF
##7226A41.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)
#004CA7
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#6A4564
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7226a4;
/* rgb */ color: rgb(114, 38, 164);
/* oklch */ color: oklch(44.9% 0.191 307.7);
Tailwind
colors: {
  custom: {
    50: '#9f69c0',
    500: '#7226a4',
    950: '#000000',
  },
}
SCSS
$custom: #7226a4;
$custom-light: #9f69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7226a4",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 276.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.19107,
    "h": 307.7
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#7226A4
secondary
#89C264
accent
#E54283
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7226A4

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

Preview Lab → · Contrast checker → · Palette generator →

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