#9648E9#9648E9

#9648E9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.230 H 301.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9648E9
RGBrgb(150, 72, 233)
HSLhsl(269, 79%, 60%)
HSVhsv(269, 69%, 91%)
CMYKcmyk(35.6%, 69.1%, 0%, 8.6%)
CIE-LABlab(48.26, 61.92, -68.76)
CIE-LCHlch(48.26, 92.53, 312.00°)
OKLaboklab(58.14% 0.1211 -0.1959)
OKLCHoklch(58.14% 0.23 301.7)
XYZxyz(29.5995, 17.0018, 78.7973)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648E9 #9BE948
analogous
#484BE9 #9648E9 #E648E9
triadic
#9648E9 #E99648 #48E996
tetradic
#9648E9 #E9484B #9BE948 #48E9E6
square
#9648E9 #E9484B #9BE948 #48E9E6
split-complementary
#9648E9 #E9E648 #4BE948
monochromatic
#5914A3 #771ADA #9648E9 #B57FF0 #D5B5F6

Accessibility & contrast

On white

4.77
#9648E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9648E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648E9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648E9#FFFFFF#000000##FFFFFF
##9648E91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#846E93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9648e9;
/* rgb */ color: rgb(150, 72, 233);
/* oklch */ color: oklch(58.1% 0.230 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb81f1',
    500: '#9648e9',
    950: '#000000',
  },
}
SCSS
$custom: #9648e9;
$custom-light: #bb81f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9648e9",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 269.068,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5814,
    "c": 0.23029,
    "h": 301.7
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#9648E9
secondary
#C7E6A7
accent
#F53397
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9648E9

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

Preview Lab → · Contrast checker → · Palette generator →

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