#7226C1#7226C1

#7226C1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.219 H 299.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7226C1
RGBrgb(114, 38, 193)
HSLhsl(269, 67%, 45%)
HSVhsv(269, 80%, 76%)
CMYKcmyk(40.9%, 80.3%, 0%, 24.3%)
CIE-LABlab(35.62, 60.61, -66.55)
CIE-LCHlch(35.62, 90.01, 312.32°)
OKLaboklab(47.28% 0.1092 -0.1904)
OKLCHoklch(47.28% 0.219 299.8)
XYZxyz(17.2558, 8.8137, 51.2338)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226C1 #75C126
analogous
#2628C1 #7226C1 #BF26C1
triadic
#7226C1 #C17226 #26C172
tetradic
#7226C1 #C12628 #75C126 #26C1BF
square
#7226C1 #C12628 #75C126 #26C1BF
split-complementary
#7226C1 #C1BF26 #28C126
monochromatic
#36125B #541C8E #7226C1 #9149DB #B07CE5

Accessibility & contrast

On white

7.60
#7226C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7226C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7226C1#FFFFFF#000000##FFFFFF
##7226C11.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#5F5274
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7226c1;
/* rgb */ color: rgb(114, 38, 193);
/* oklch */ color: oklch(47.3% 0.219 299.8);
Tailwind
colors: {
  custom: {
    50: '#a26ad5',
    500: '#7226c1',
    950: '#000000',
  },
}
SCSS
$custom: #7226c1;
$custom-light: #a26ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7226c1",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 269.419,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.21949,
    "h": 299.8
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#7226C1
secondary
#A2CD75
accent
#EA3E96
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7226C1

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

Preview Lab → · Contrast checker → · Palette generator →

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