#9648D7#9648D7

#9648D7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.212 H 305.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9648D7
RGBrgb(150, 72, 215)
HSLhsl(273, 64%, 56%)
HSVhsv(273, 67%, 84%)
CMYKcmyk(30.2%, 66.5%, 0%, 15.7%)
CIE-LABlab(47.01, 57.74, -60.58)
CIE-LCHlch(47.01, 83.69, 313.63°)
OKLaboklab(56.85% 0.1234 -0.1718)
OKLCHoklch(56.85% 0.212 305.7)
XYZxyz(27.1581, 16.0253, 65.9393)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648D7 #89D748
analogous
#4F48D7 #9648D7 #D748D1
triadic
#9648D7 #D79648 #48D796
tetradic
#9648D7 #D74F48 #89D748 #48D1D7
square
#9648D7 #D74F48 #89D748 #48D1D7
split-complementary
#9648D7 #D1D748 #48D74F
monochromatic
#571E87 #7729B9 #9648D7 #B37AE2 #D0ACED

Accessibility & contrast

On white

4.99
#9648D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9648D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648D7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648D7#FFFFFF#000000##FFFFFF
##9648D71.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#1E70D4
Tritanopia (blue-blind)
#8B678A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9648d7;
/* rgb */ color: rgb(150, 72, 215);
/* oklch */ color: oklch(56.8% 0.212 305.7);
Tailwind
colors: {
  custom: {
    50: '#ba80e4',
    500: '#9648d7',
    950: '#000000',
  },
}
SCSS
$custom: #9648d7;
$custom-light: #ba80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9648d7",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 272.727,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.21155,
    "h": 305.7
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9648D7

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

Preview Lab → · Contrast checker → · Palette generator →

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