#9A72EC#9A72EC

#9A72EC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.7% C 0.177 H 296.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9A72EC
RGBrgb(154, 114, 236)
HSLhsl(260, 76%, 69%)
HSVhsv(260, 52%, 93%)
CMYKcmyk(34.7%, 51.7%, 0%, 7.5%)
CIE-LABlab(57.04, 41.79, -56.29)
CIE-LCHlch(57.04, 70.10, 306.59°)
OKLaboklab(64.69% 0.0784 -0.1592)
OKLCHoklch(64.69% 0.177 296.2)
XYZxyz(34.4802, 24.9602, 82.3418)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A72EC #C4EC72
analogous
#7287EC #9A72EC #D772EC
triadic
#9A72EC #EC9A72 #72EC9A
tetradic
#9A72EC #EC7287 #C4EC72 #72ECD7
square
#9A72EC #EC7287 #C4EC72 #72ECD7
split-complementary
#9A72EC #ECD772 #87EC72
monochromatic
#541BC9 #733CE5 #9A72EC #C1A8F3 #E7DEFB

Accessibility & contrast

On white

3.50
#9A72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9A72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A72EC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A72EC#FFFFFF#000000##000000
##9A72EC1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF0
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#878AA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a72ec;
/* rgb */ color: rgb(154, 114, 236);
/* oklch */ color: oklch(64.7% 0.177 296.2);
Tailwind
colors: {
  custom: {
    50: '#bc9bf3',
    500: '#9a72ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a72ec;
$custom-light: #bc9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a72ec",
  "rgb": {
    "r": 154,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 259.672,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6469,
    "c": 0.17743,
    "h": 296.2
  },
  "luminance": 0.24961
}

Semantic roles & 50–950 ramp

primary
#9A72EC
secondary
#E3EFCB
accent
#D80D96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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