#7224C1#7224C1

#7224C1 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.221 H 300.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7224C1
RGBrgb(114, 36, 193)
HSLhsl(270, 69%, 45%)
HSVhsv(270, 81%, 76%)
CMYKcmyk(40.9%, 81.3%, 0%, 24.3%)
CIE-LABlab(35.38, 61.32, -66.95)
CIE-LCHlch(35.38, 90.79, 312.48°)
OKLaboklab(47.11% 0.1107 -0.1915)
OKLCHoklch(47.11% 0.221 300)
XYZxyz(17.1935, 8.6892, 51.2131)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224C1 #73C124
analogous
#2424C1 #7224C1 #C124C1
triadic
#7224C1 #C17224 #24C172
tetradic
#7224C1 #C12424 #73C124 #24C1C1
square
#7224C1 #C12424 #73C124 #24C1C1
split-complementary
#7224C1 #C1C124 #24C124
monochromatic
#35115A #541A8D #7224C1 #9146DC #AF79E6

Accessibility & contrast

On white

7.67
#7224C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7224C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7224C1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7224C1#FFFFFF#000000##FFFFFF
##7224C11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#5F5174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7224c1;
/* rgb */ color: rgb(114, 36, 193);
/* oklch */ color: oklch(47.1% 0.221 300.0);
Tailwind
colors: {
  custom: {
    50: '#a26ad5',
    500: '#7224c1',
    950: '#000000',
  },
}
SCSS
$custom: #7224c1;
$custom-light: #a26ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7224c1",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 269.809,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.2212,
    "h": 300
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#7224C1
secondary
#A1CE73
accent
#EB3C94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7224C1

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

Preview Lab → · Contrast checker → · Palette generator →

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