#9648DC#9648DC

#9648DC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.217 H 304.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9648DC
RGBrgb(150, 72, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(31.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(47.35, 58.89, -62.88)
CIE-LCHlch(47.35, 86.15, 313.12°)
OKLaboklab(57.2% 0.1229 -0.1786)
OKLCHoklch(57.2% 0.217 304.5)
XYZxyz(27.8104, 16.2862, 69.3747)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648DC #8EDC48
analogous
#4C48DC #9648DC #DC48D8
triadic
#9648DC #DC9648 #48DC96
tetradic
#9648DC #DC4C48 #8EDC48 #48D8DC
square
#9648DC #DC4C48 #8EDC48 #48D8DC
split-complementary
#9648DC #D8DC48 #48DC4C
monochromatic
#581B8E #7825C2 #9648DC #B37BE6 #D1AFF0

Accessibility & contrast

On white

4.93
#9648DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9648DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648DC#FFFFFF#000000##FFFFFF
##9648DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0F70D9
Tritanopia (blue-blind)
#89698C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9648dc;
/* rgb */ color: rgb(150, 72, 220);
/* oklch */ color: oklch(57.2% 0.217 304.5);
Tailwind
colors: {
  custom: {
    50: '#ba80e8',
    500: '#9648dc',
    950: '#000000',
  },
}
SCSS
$custom: #9648dc;
$custom-light: #ba80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9648dc",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 271.622,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.21676,
    "h": 304.5
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#9648DC
secondary
#BEDEA2
accent
#EB3D8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648DC

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

Preview Lab → · Contrast checker → · Palette generator →

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