#7226A8#7226A8

#7226A8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.195 H 306.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7226A8
RGBrgb(114, 38, 168)
HSLhsl(275, 63%, 40%)
HSVhsv(275, 77%, 66%)
CMYKcmyk(32.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(33.54, 54.83, -55.10)
CIE-LCHlch(33.54, 77.74, 314.86°)
OKLaboklab(45.19% 0.116 -0.1567)
OKLCHoklch(45.19% 0.195 306.5)
XYZxyz(14.6989, 7.7909, 37.7676)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226A8 #5CA826
analogous
#3126A8 #7226A8 #A8269D
triadic
#7226A8 #A87226 #26A872
tetradic
#7226A8 #A83126 #5CA826 #269DA8
square
#7226A8 #A83126 #5CA826 #269DA8
split-complementary
#7226A8 #9DA826 #26A831
monochromatic
#2E0F44 #501B76 #7226A8 #9339D2 #AE6BDE

Accessibility & contrast

On white

8.21
#7226A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7226A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226A8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226A8#FFFFFF#000000##FFFFFF
##7226A81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#684766
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7226a8;
/* rgb */ color: rgb(114, 38, 168);
/* oklch */ color: oklch(45.2% 0.195 306.5);
Tailwind
colors: {
  custom: {
    50: '#a069c3',
    500: '#7226a8',
    950: '#000000',
  },
}
SCSS
$custom: #7226a8;
$custom-light: #a069c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7226a8",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 275.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.19499,
    "h": 306.5
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#7226A8
secondary
#8DC466
accent
#E64286
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7226A8

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

Preview Lab → · Contrast checker → · Palette generator →

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