#9648E5#9648E5

#9648E5 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.226 H 302.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9648E5
RGBrgb(150, 72, 229)
HSLhsl(270, 75%, 59%)
HSVhsv(270, 69%, 90%)
CMYKcmyk(34.5%, 68.6%, 0%, 10.2%)
CIE-LABlab(47.98, 60.98, -66.97)
CIE-LCHlch(47.98, 90.57, 312.32°)
OKLaboklab(57.85% 0.1217 -0.1906)
OKLCHoklch(57.85% 0.226 302.6)
XYZxyz(29.0346, 16.7759, 75.8220)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648E5 #97E548
analogous
#4849E5 #9648E5 #E548E5
triadic
#9648E5 #E59648 #48E596
tetradic
#9648E5 #E54849 #97E548 #48E5E5
square
#9648E5 #E54849 #97E548 #48E5E5
split-complementary
#9648E5 #E5E548 #49E548
monochromatic
#59169C #771ED2 #9648E5 #B57EED #D3B3F4

Accessibility & contrast

On white

4.82
#9648E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9648E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648E5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648E5#FFFFFF#000000##FFFFFF
##9648E51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#866D91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9648e5;
/* rgb */ color: rgb(150, 72, 229);
/* oklch */ color: oklch(57.8% 0.226 302.6);
Tailwind
colors: {
  custom: {
    50: '#bb81ee',
    500: '#9648e5',
    950: '#000000',
  },
}
SCSS
$custom: #9648e5;
$custom-light: #bb81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9648e5",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 269.809,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.22613,
    "h": 302.6
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#9648E5
secondary
#C5E3A6
accent
#F23694
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648E5

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

Preview Lab → · Contrast checker → · Palette generator →

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