#7224BD#7224BD

#7224BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.217 H 301.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7224BD
RGBrgb(114, 36, 189)
HSLhsl(271, 68%, 44%)
HSVhsv(271, 81%, 74%)
CMYKcmyk(39.7%, 81%, 0%, 25.9%)
CIE-LABlab(35.03, 60.39, -65.17)
CIE-LCHlch(35.03, 88.85, 312.82°)
OKLaboklab(46.76% 0.1119 -0.1863)
OKLCHoklch(46.76% 0.217 301)
XYZxyz(16.7533, 8.5132, 48.8948)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224BD #6FBD24
analogous
#2524BD #7224BD #BD24BC
triadic
#7224BD #BD7224 #24BD72
tetradic
#7224BD #BD2524 #6FBD24 #24BCBD
square
#7224BD #BD2524 #6FBD24 #24BCBD
split-complementary
#7224BD #BCBD24 #24BD25
monochromatic
#341056 #531A8A #7224BD #9143DB #AF76E5

Accessibility & contrast

On white

7.77
#7224BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7224BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7224BD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7224BD#FFFFFF#000000##FFFFFF
##7224BD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#614F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7224bd;
/* rgb */ color: rgb(114, 36, 189);
/* oklch */ color: oklch(46.8% 0.217 301.0);
Tailwind
colors: {
  custom: {
    50: '#a269d2',
    500: '#7224bd',
    950: '#000000',
  },
}
SCSS
$custom: #7224bd;
$custom-light: #a269d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7224bd",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 270.588,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.21733,
    "h": 301
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#7224BD
secondary
#9DCC70
accent
#EB3D92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7224BD

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

Preview Lab → · Contrast checker → · Palette generator →

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