#9648D5#9648D5

#9648D5 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.209 H 306.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9648D5
RGBrgb(150, 72, 213)
HSLhsl(273, 63%, 56%)
HSVhsv(273, 66%, 84%)
CMYKcmyk(29.6%, 66.2%, 0%, 16.5%)
CIE-LABlab(46.87, 57.28, -59.65)
CIE-LCHlch(46.87, 82.70, 313.84°)
OKLaboklab(56.71% 0.1236 -0.1691)
OKLCHoklch(56.71% 0.209 306.2)
XYZxyz(26.9027, 15.9231, 64.5941)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648D5 #87D548
analogous
#4F48D5 #9648D5 #D548CE
triadic
#9648D5 #D59648 #48D596
tetradic
#9648D5 #D54F48 #87D548 #48CED5
square
#9648D5 #D54F48 #87D548 #48CED5
split-complementary
#9648D5 #CED548 #48D54F
monochromatic
#571E84 #772AB6 #9648D5 #B37AE0 #CFACEC

Accessibility & contrast

On white

5.02
#9648D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9648D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648D5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648D5#FFFFFF#000000##FFFFFF
##9648D51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2270D2
Tritanopia (blue-blind)
#8B6789
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9648d5;
/* rgb */ color: rgb(150, 72, 213);
/* oklch */ color: oklch(56.7% 0.209 306.2);
Tailwind
colors: {
  custom: {
    50: '#b980e3',
    500: '#9648d5',
    950: '#000000',
  },
}
SCSS
$custom: #9648d5;
$custom-light: #b980e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9648d5",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 273.191,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.20946,
    "h": 306.2
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#9648D5
secondary
#B9DA9F
accent
#E6428B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9648D5

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

Preview Lab → · Contrast checker → · Palette generator →

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