#7218B3#7218B3

#7218B3 is a mid, highly saturated violet. Relative luminance 0.075; OKLCH L 45.0% C 0.217 H 304.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7218B3
RGBrgb(114, 24, 179)
HSLhsl(275, 76%, 40%)
HSVhsv(275, 87%, 70%)
CMYKcmyk(36.3%, 86.6%, 0%, 29.8%)
CIE-LABlab(32.89, 61.87, -62.76)
CIE-LCHlch(32.89, 88.12, 314.59°)
OKLaboklab(45.02% 0.1229 -0.1791)
OKLCHoklch(45.02% 0.217 304.4)
XYZxyz(15.4009, 7.4854, 43.2726)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7218B3 #59B318
analogous
#2518B3 #7218B3 #B318A6
triadic
#7218B3 #B37218 #18B372
tetradic
#7218B3 #B32518 #59B318 #18A6B3
square
#7218B3 #B32518 #59B318 #18A6B3
split-complementary
#7218B3 #A6B318 #18B325
monochromatic
#2D0A47 #50117D #7218B3 #9326E2 #AE5CE9

Accessibility & contrast

On white

8.41
#7218B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7218B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7218B3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7218B3#FFFFFF#000000##FFFFFF
##7218B31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#65466A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7218b3;
/* rgb */ color: rgb(114, 24, 179);
/* oklch */ color: oklch(45.0% 0.217 304.4);
Tailwind
colors: {
  custom: {
    50: '#a164cb',
    500: '#7218b3',
    950: '#000000',
  },
}
SCSS
$custom: #7218b3;
$custom-light: #a164cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7218b3",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 274.839,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.21721,
    "h": 304.4
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#7218B3
secondary
#8ACD5A
accent
#F33585
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7218B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7218B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva