#9648D4#9648D4

#9648D4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.208 H 306.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9648D4
RGBrgb(150, 72, 212)
HSLhsl(273, 62%, 56%)
HSVhsv(273, 66%, 83%)
CMYKcmyk(29.2%, 66%, 0%, 16.9%)
CIE-LABlab(46.81, 57.05, -59.18)
CIE-LCHlch(46.81, 82.21, 313.95°)
OKLaboklab(56.64% 0.1237 -0.1677)
OKLCHoklch(56.64% 0.208 306.4)
XYZxyz(26.7762, 15.8725, 63.9277)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648D4 #86D448
analogous
#5048D4 #9648D4 #D448CC
triadic
#9648D4 #D49648 #48D496
tetradic
#9648D4 #D45048 #86D448 #48CCD4
square
#9648D4 #D45048 #86D448 #48CCD4
split-complementary
#9648D4 #CCD448 #48D450
monochromatic
#571F83 #772AB4 #9648D4 #B27AE0 #CFABEB

Accessibility & contrast

On white

5.03
#9648D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9648D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648D4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648D4#FFFFFF#000000##FFFFFF
##9648D41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#246FD1
Tritanopia (blue-blind)
#8C6688
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9648d4;
/* rgb */ color: rgb(150, 72, 212);
/* oklch */ color: oklch(56.6% 0.208 306.4);
Tailwind
colors: {
  custom: {
    50: '#b980e2',
    500: '#9648d4',
    950: '#000000',
  },
}
SCSS
$custom: #9648d4;
$custom-light: #b980e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9648d4",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 273.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.20841,
    "h": 306.4
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#9648D4
secondary
#B9D99F
accent
#E5438B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9648D4

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

Preview Lab → · Contrast checker → · Palette generator →

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