#7226A9#7226A9

#7226A9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.196 H 306.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7226A9
RGBrgb(114, 38, 169)
HSLhsl(275, 63%, 41%)
HSVhsv(275, 78%, 66%)
CMYKcmyk(32.5%, 77.5%, 0%, 33.7%)
CIE-LABlab(33.62, 55.06, -55.58)
CIE-LCHlch(33.62, 78.23, 314.73°)
OKLaboklab(45.27% 0.1158 -0.1581)
OKLCHoklch(45.27% 0.196 306.2)
XYZxyz(14.7924, 7.8283, 38.2602)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226A9 #5DA926
analogous
#3026A9 #7226A9 #A9269E
triadic
#7226A9 #A97226 #26A972
tetradic
#7226A9 #A93026 #5DA926 #269EA9
square
#7226A9 #A93026 #5DA926 #269EA9
split-complementary
#7226A9 #9EA926 #26A930
monochromatic
#2F1045 #501B77 #7226A9 #923AD3 #AE6CDE

Accessibility & contrast

On white

8.19
#7226A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7226A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226A9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226A9#FFFFFF#000000##FFFFFF
##7226A91.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#684767
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7226a9;
/* rgb */ color: rgb(114, 38, 169);
/* oklch */ color: oklch(45.3% 0.196 306.2);
Tailwind
colors: {
  custom: {
    50: '#a069c3',
    500: '#7226a9',
    950: '#000000',
  },
}
SCSS
$custom: #7226a9;
$custom-light: #a069c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7226a9",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 274.809,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.19597,
    "h": 306.2
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#7226A9
secondary
#8EC467
accent
#E64187
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7226A9

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

Preview Lab → · Contrast checker → · Palette generator →

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