#9648D9#9648D9

#9648D9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.214 H 305.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9648D9
RGBrgb(150, 72, 217)
HSLhsl(272, 66%, 57%)
HSVhsv(272, 67%, 85%)
CMYKcmyk(30.9%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.14, 58.20, -61.50)
CIE-LCHlch(47.14, 84.67, 313.42°)
OKLaboklab(56.99% 0.1232 -0.1745)
OKLCHoklch(56.99% 0.214 305.2)
XYZxyz(27.4167, 16.1287, 67.3010)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648D9 #8BD948
analogous
#4E48D9 #9648D9 #D948D4
triadic
#9648D9 #D99648 #48D996
tetradic
#9648D9 #D94E48 #8BD948 #48D4D9
square
#9648D9 #D94E48 #8BD948 #48D4D9
split-complementary
#9648D9 #D4D948 #48D94E
monochromatic
#571D8A #7827BD #9648D9 #B37BE4 #D0ADEE

Accessibility & contrast

On white

4.97
#9648D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9648D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648D9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648D9#FFFFFF#000000##FFFFFF
##9648D91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#1970D6
Tritanopia (blue-blind)
#8A688B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9648d9;
/* rgb */ color: rgb(150, 72, 217);
/* oklch */ color: oklch(57.0% 0.214 305.2);
Tailwind
colors: {
  custom: {
    50: '#ba80e6',
    500: '#9648d9',
    950: '#000000',
  },
}
SCSS
$custom: #9648d9;
$custom-light: #ba80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9648d9",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 272.276,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.21363,
    "h": 305.2
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#9648D9
secondary
#BCDCA1
accent
#E93F8D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648D9

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

Preview Lab → · Contrast checker → · Palette generator →

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