#7226AA#7226AA

#7226AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.197 H 305.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7226AA
RGBrgb(114, 38, 170)
HSLhsl(275, 63%, 41%)
HSVhsv(275, 78%, 67%)
CMYKcmyk(32.9%, 77.6%, 0%, 33.3%)
CIE-LABlab(33.70, 55.28, -56.05)
CIE-LCHlch(33.70, 78.72, 314.61°)
OKLaboklab(45.35% 0.1155 -0.1595)
OKLCHoklch(45.35% 0.197 305.9)
XYZxyz(14.8866, 7.8660, 38.7565)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226AA #5EAA26
analogous
#3026AA #7226AA #AA26A0
triadic
#7226AA #AA7226 #26AA72
tetradic
#7226AA #AA3026 #5EAA26 #26A0AA
square
#7226AA #AA3026 #5EAA26 #26A0AA
split-complementary
#7226AA #A0AA26 #26AA30
monochromatic
#2F1046 #501B78 #7226AA #923AD3 #AE6CDE

Accessibility & contrast

On white

8.16
#7226AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7226AA#FFFFFF#000000##FFFFFF
##7226AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#684867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7226aa;
/* rgb */ color: rgb(114, 38, 170);
/* oklch */ color: oklch(45.3% 0.197 305.9);
Tailwind
colors: {
  custom: {
    50: '#a069c4',
    500: '#7226aa',
    950: '#000000',
  },
}
SCSS
$custom: #7226aa;
$custom-light: #a069c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7226aa",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 274.545,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.19696,
    "h": 305.9
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7226AA

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

Preview Lab → · Contrast checker → · Palette generator →

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