#9B72EC#9B72EC

#9B72EC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.8% C 0.178 H 296.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B72EC
RGBrgb(155, 114, 236)
HSLhsl(260, 76%, 69%)
HSVhsv(260, 52%, 93%)
CMYKcmyk(34.3%, 51.7%, 0%, 7.5%)
CIE-LABlab(57.13, 42.03, -56.13)
CIE-LCHlch(57.13, 70.12, 306.83°)
OKLaboklab(64.78% 0.0796 -0.1587)
OKLCHoklch(64.78% 0.178 296.6)
XYZxyz(34.6714, 25.0588, 82.3508)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B72EC #C3EC72
analogous
#7286EC #9B72EC #D872EC
triadic
#9B72EC #EC9B72 #72EC9B
tetradic
#9B72EC #EC7286 #C3EC72 #72ECD8
square
#9B72EC #EC7286 #C3EC72 #72ECD8
split-complementary
#9B72EC #ECD872 #86EC72
monochromatic
#551BC9 #753CE5 #9B72EC #C1A8F3 #E7DEFB

Accessibility & contrast

On white

3.49
#9B72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9B72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B72EC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B72EC#FFFFFF#000000##000000
##9B72EC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b72ec;
/* rgb */ color: rgb(155, 114, 236);
/* oklch */ color: oklch(64.8% 0.178 296.6);
Tailwind
colors: {
  custom: {
    50: '#bc9bf3',
    500: '#9b72ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b72ec;
$custom-light: #bc9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b72ec",
  "rgb": {
    "r": 155,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 260.164,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64784,
    "c": 0.17753,
    "h": 296.6
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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