#9648E6#9648E6

#9648E6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.227 H 302.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9648E6
RGBrgb(150, 72, 230)
HSLhsl(270, 76%, 59%)
HSVhsv(270, 69%, 90%)
CMYKcmyk(34.8%, 68.7%, 0%, 9.8%)
CIE-LABlab(48.05, 61.21, -67.42)
CIE-LCHlch(48.05, 91.06, 312.24°)
OKLaboklab(57.92% 0.1216 -0.1919)
OKLCHoklch(57.92% 0.227 302.3)
XYZxyz(29.1746, 16.8319, 76.5594)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648E6 #98E648
analogous
#4849E6 #9648E6 #E548E6
triadic
#9648E6 #E69648 #48E696
tetradic
#9648E6 #E64849 #98E648 #48E6E5
square
#9648E6 #E64849 #98E648 #48E6E5
split-complementary
#9648E6 #E6E548 #49E648
monochromatic
#59169E #771DD4 #9648E6 #B57EED #D4B4F5

Accessibility & contrast

On white

4.81
#9648E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9648E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648E6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648E6#FFFFFF#000000##FFFFFF
##9648E61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#866D92
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9648e6;
/* rgb */ color: rgb(150, 72, 230);
/* oklch */ color: oklch(57.9% 0.227 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb81ef',
    500: '#9648e6',
    950: '#000000',
  },
}
SCSS
$custom: #9648e6;
$custom-light: #bb81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9648e6",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 269.62,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.22718,
    "h": 302.3
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#9648E6
secondary
#C5E4A6
accent
#F33595
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9648E6

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

Preview Lab → · Contrast checker → · Palette generator →

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