#7226C5#7226C5

#7226C5 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.223 H 298.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7226C5
RGBrgb(114, 38, 197)
HSLhsl(269, 68%, 46%)
HSVhsv(269, 81%, 77%)
CMYKcmyk(42.1%, 80.7%, 0%, 22.7%)
CIE-LABlab(35.97, 61.55, -68.32)
CIE-LCHlch(35.97, 91.96, 312.01°)
OKLaboklab(47.63% 0.108 -0.1956)
OKLCHoklch(47.63% 0.223 298.9)
XYZxyz(17.7080, 8.9946, 53.6157)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226C5 #79C526
analogous
#2629C5 #7226C5 #C126C5
triadic
#7226C5 #C57226 #26C572
tetradic
#7226C5 #C52629 #79C526 #26C5C1
square
#7226C5 #C52629 #79C526 #26C5C1
split-complementary
#7226C5 #C5C126 #29C526
monochromatic
#37125E #541C92 #7226C5 #914CDC #B07FE6

Accessibility & contrast

On white

7.50
#7226C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7226C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7226C5#FFFFFF#000000##FFFFFF
##7226C51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#5D5377
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7226c5;
/* rgb */ color: rgb(114, 38, 197);
/* oklch */ color: oklch(47.6% 0.223 298.9);
Tailwind
colors: {
  custom: {
    50: '#a26bd8',
    500: '#7226c5',
    950: '#000000',
  },
}
SCSS
$custom: #7226c5;
$custom-light: #a26bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7226c5",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 268.679,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.22341,
    "h": 298.9
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#7226C5
secondary
#A5CF78
accent
#EB3D98
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7226C5

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

Preview Lab → · Contrast checker → · Palette generator →

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