#9A72C8#9A72C8

#9A72C8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.132 H 304.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9A72C8
RGBrgb(154, 114, 200)
HSLhsl(268, 44%, 62%)
HSVhsv(268, 43%, 78%)
CMYKcmyk(23%, 43%, 0%, 21.6%)
CIE-LABlab(55.15, 32.87, -39.00)
CIE-LCHlch(55.15, 51.01, 310.12°)
OKLaboklab(62.67% 0.0742 -0.1088)
OKLCHoklch(62.67% 0.132 304.3)
XYZxyz(29.7669, 23.0749, 57.5181)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A72C8 #A0C872
analogous
#7275C8 #9A72C8 #C572C8
triadic
#9A72C8 #C89A72 #72C89A
tetradic
#9A72C8 #C87275 #A0C872 #72C8C5
square
#9A72C8 #C87275 #A0C872 #72C8C5
split-complementary
#9A72C8 #C8C572 #75C872
monochromatic
#5D368A #7B47B6 #9A72C8 #BA9ED9 #D9CAEA

Accessibility & contrast

On white

3.74
#9A72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9A72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A72C8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A72C8#FFFFFF#000000##000000
##9A72C81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#6684C6
Tritanopia (blue-blind)
#928093
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a72c8;
/* rgb */ color: rgb(154, 114, 200);
/* oklch */ color: oklch(62.7% 0.132 304.3);
Tailwind
colors: {
  custom: {
    50: '#b99bd9',
    500: '#9a72c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a72c8;
$custom-light: #b99bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a72c8",
  "rgb": {
    "r": 154,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 267.907,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.13168,
    "h": 304.3
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#9A72C8
secondary
#CCDBBB
accent
#B72E78
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9A72C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9A72C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva