#7226AC#7226AC

#7226AC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.199 H 305.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7226AC
RGBrgb(114, 38, 172)
HSLhsl(274, 64%, 41%)
HSVhsv(274, 78%, 67%)
CMYKcmyk(33.7%, 77.9%, 0%, 32.5%)
CIE-LABlab(33.86, 55.74, -56.98)
CIE-LCHlch(33.86, 79.71, 314.37°)
OKLaboklab(45.51% 0.115 -0.1623)
OKLCHoklch(45.51% 0.199 305.3)
XYZxyz(15.0773, 7.9423, 39.7604)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226AC #60AC26
analogous
#2F26AC #7226AC #AC26A3
triadic
#7226AC #AC7226 #26AC72
tetradic
#7226AC #AC2F26 #60AC26 #26A3AC
square
#7226AC #AC2F26 #60AC26 #26A3AC
split-complementary
#7226AC #A3AC26 #26AC2F
monochromatic
#301048 #511B7A #7226AC #923BD4 #AE6EDF

Accessibility & contrast

On white

8.11
#7226AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7226AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226AC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226AC#FFFFFF#000000##FFFFFF
##7226AC1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#674968
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7226ac;
/* rgb */ color: rgb(114, 38, 172);
/* oklch */ color: oklch(45.5% 0.199 305.3);
Tailwind
colors: {
  custom: {
    50: '#a069c6',
    500: '#7226ac',
    950: '#000000',
  },
}
SCSS
$custom: #7226ac;
$custom-light: #a069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7226ac",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 274.03,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.19891,
    "h": 305.3
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#7226AC
secondary
#91C568
accent
#E74189
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7226AC

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

Preview Lab → · Contrast checker → · Palette generator →

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