#9648D8#9648D8

#9648D8 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.213 H 305.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9648D8
RGBrgb(150, 72, 216)
HSLhsl(273, 65%, 56%)
HSVhsv(273, 67%, 85%)
CMYKcmyk(30.6%, 66.7%, 0%, 15.3%)
CIE-LABlab(47.08, 57.97, -61.04)
CIE-LCHlch(47.08, 84.18, 313.52°)
OKLaboklab(56.92% 0.1233 -0.1732)
OKLCHoklch(56.92% 0.213 305.5)
XYZxyz(27.2870, 16.0768, 66.6180)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648D8 #8AD848
analogous
#4E48D8 #9648D8 #D848D2
triadic
#9648D8 #D89648 #48D896
tetradic
#9648D8 #D84E48 #8AD848 #48D2D8
square
#9648D8 #D84E48 #8AD848 #48D2D8
split-complementary
#9648D8 #D2D848 #48D84E
monochromatic
#571D89 #7828BB #9648D8 #B37AE3 #D0ADEE

Accessibility & contrast

On white

4.98
#9648D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9648D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648D8#FFFFFF#000000##FFFFFF
##9648D81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#1B70D5
Tritanopia (blue-blind)
#8A688A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9648d8;
/* rgb */ color: rgb(150, 72, 216);
/* oklch */ color: oklch(56.9% 0.213 305.5);
Tailwind
colors: {
  custom: {
    50: '#ba80e5',
    500: '#9648d8',
    950: '#000000',
  },
}
SCSS
$custom: #9648d8;
$custom-light: #ba80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9648d8",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 272.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56917,
    "c": 0.21259,
    "h": 305.5
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#9648D8
secondary
#BBDBA0
accent
#E8408D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648D8

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

Preview Lab → · Contrast checker → · Palette generator →

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