#9648DB#9648DB

#9648DB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.216 H 304.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9648DB
RGBrgb(150, 72, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(31.5%, 67.1%, 0%, 14.1%)
CIE-LABlab(47.28, 58.66, -62.42)
CIE-LCHlch(47.28, 85.66, 313.22°)
OKLaboklab(57.13% 0.123 -0.1772)
OKLCHoklch(57.13% 0.216 304.8)
XYZxyz(27.6784, 16.2334, 68.6793)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648DB #8DDB48
analogous
#4D48DB #9648DB #DB48D6
triadic
#9648DB #DB9648 #48DB96
tetradic
#9648DB #DB4D48 #8DDB48 #48D6DB
square
#9648DB #DB4D48 #8DDB48 #48D6DB
split-complementary
#9648DB #D6DB48 #48DB4D
monochromatic
#581C8D #7826C0 #9648DB #B37BE5 #D1AEEF

Accessibility & contrast

On white

4.95
#9648DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9648DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648DB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648DB#FFFFFF#000000##FFFFFF
##9648DB1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#1370D8
Tritanopia (blue-blind)
#89698C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9648db;
/* rgb */ color: rgb(150, 72, 219);
/* oklch */ color: oklch(57.1% 0.216 304.8);
Tailwind
colors: {
  custom: {
    50: '#ba80e7',
    500: '#9648db',
    950: '#000000',
  },
}
SCSS
$custom: #9648db;
$custom-light: #ba80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9648db",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 271.837,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.21572,
    "h": 304.8
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#9648DB
secondary
#BEDDA2
accent
#EA3E8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648DB

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

Preview Lab → · Contrast checker → · Palette generator →

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