#9648CB#9648CB

#9648CB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.0% C 0.199 H 308.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9648CB
RGBrgb(150, 72, 203)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(26.1%, 64.5%, 0%, 20.4%)
CIE-LABlab(46.22, 55.02, -54.96)
CIE-LCHlch(46.22, 77.77, 315.03°)
OKLaboklab(56.03% 0.1244 -0.1553)
OKLCHoklch(56.03% 0.199 308.7)
XYZxyz(25.6724, 15.4310, 58.1144)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648CB #7DCB48
analogous
#5548CB #9648CB #CB48BF
triadic
#9648CB #CB9648 #48CB96
tetradic
#9648CB #CB5548 #7DCB48 #48BFCB
square
#9648CB #CB5548 #7DCB48 #48BFCB
split-complementary
#9648CB #BFCB48 #48CB55
monochromatic
#542277 #762FA6 #9648CB #B178D9 #CDA7E6

Accessibility & contrast

On white

5.14
#9648CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9648CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648CB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648CB#FFFFFF#000000##FFFFFF
##9648CB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#326EC8
Tritanopia (blue-blind)
#8E6383
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9648cb;
/* rgb */ color: rgb(150, 72, 203);
/* oklch */ color: oklch(56.0% 0.199 308.7);
Tailwind
colors: {
  custom: {
    50: '#b980db',
    500: '#9648cb',
    950: '#000000',
  },
}
SCSS
$custom: #9648cb;
$custom-light: #b980db;
$custom-dark: #000000;
JSON
{
  "hex": "#9648cb",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 275.725,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56029,
    "c": 0.19901,
    "h": 308.7
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#9648CB
secondary
#B2D39B
accent
#DF4986
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9648CB

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

Preview Lab → · Contrast checker → · Palette generator →

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