#9648EB#9648EB

#9648EB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.232 H 301.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9648EB
RGBrgb(150, 72, 235)
HSLhsl(269, 80%, 60%)
HSVhsv(269, 69%, 92%)
CMYKcmyk(36.2%, 69.4%, 0%, 7.8%)
CIE-LABlab(48.41, 62.39, -69.66)
CIE-LCHlch(48.41, 93.51, 311.85°)
OKLaboklab(58.29% 0.1208 -0.1985)
OKLCHoklch(58.29% 0.232 301.3)
XYZxyz(29.8868, 17.1168, 80.3105)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648EB #9DEB48
analogous
#484BEB #9648EB #E848EB
triadic
#9648EB #EB9648 #48EB96
tetradic
#9648EB #EB484B #9DEB48 #48EBE8
square
#9648EB #EB484B #9DEB48 #48EBE8
split-complementary
#9648EB #EBE848 #4BEB48
monochromatic
#5912A6 #7718DE #9648EB #B67FF1 #D5B6F7

Accessibility & contrast

On white

4.75
#9648EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9648EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648EB#FFFFFF#000000##FFFFFF
##9648EB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#846F95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9648eb;
/* rgb */ color: rgb(150, 72, 235);
/* oklch */ color: oklch(58.3% 0.232 301.3);
Tailwind
colors: {
  custom: {
    50: '#bb81f2',
    500: '#9648eb',
    950: '#000000',
  },
}
SCSS
$custom: #9648eb;
$custom-light: #bb81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9648eb",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 268.712,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.23236,
    "h": 301.3
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#9648EB
secondary
#C9E7A8
accent
#DD0977
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9648EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9648EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva