#7224BB#7224BB

#7224BB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.215 H 301.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7224BB
RGBrgb(114, 36, 187)
HSLhsl(271, 68%, 44%)
HSVhsv(271, 81%, 73%)
CMYKcmyk(39%, 80.7%, 0%, 26.7%)
CIE-LABlab(34.86, 59.93, -64.28)
CIE-LCHlch(34.86, 87.88, 312.99°)
OKLaboklab(46.59% 0.1125 -0.1837)
OKLCHoklch(46.59% 0.215 301.5)
XYZxyz(16.5377, 8.4269, 47.7594)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224BB #6DBB24
analogous
#2624BB #7224BB #BB24B8
triadic
#7224BB #BB7224 #24BB72
tetradic
#7224BB #BB2624 #6DBB24 #24B8BB
square
#7224BB #BB2624 #6DBB24 #24B8BB
split-complementary
#7224BB #B8BB24 #24BB26
monochromatic
#331054 #531A88 #7224BB #9142DB #AF75E4

Accessibility & contrast

On white

7.82
#7224BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7224BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7224BB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7224BB#FFFFFF#000000##FFFFFF
##7224BB1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#624E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7224bb;
/* rgb */ color: rgb(114, 36, 187);
/* oklch */ color: oklch(46.6% 0.215 301.5);
Tailwind
colors: {
  custom: {
    50: '#a269d1',
    500: '#7224bb',
    950: '#000000',
  },
}
SCSS
$custom: #7224bb;
$custom-light: #a269d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7224bb",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 270.993,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.2154,
    "h": 301.5
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#7224BB
secondary
#9CCC6F
accent
#EB3D91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7224BB

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

Preview Lab → · Contrast checker → · Palette generator →

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