#9648CC#9648CC

#9648CC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.200 H 308.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9648CC
RGBrgb(150, 72, 204)
HSLhsl(275, 56%, 54%)
HSVhsv(275, 65%, 80%)
CMYKcmyk(26.5%, 64.7%, 0%, 20%)
CIE-LABlab(46.28, 55.24, -55.43)
CIE-LCHlch(46.28, 78.26, 314.90°)
OKLaboklab(56.1% 0.1244 -0.1567)
OKLCHoklch(56.1% 0.2 308.4)
XYZxyz(25.7919, 15.4788, 58.7440)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648CC #7ECC48
analogous
#5448CC #9648CC #CC48C0
triadic
#9648CC #CC9648 #48CC96
tetradic
#9648CC #CC5448 #7ECC48 #48C0CC
square
#9648CC #CC5448 #7ECC48 #48C0CC
split-complementary
#9648CC #C0CC48 #48CC54
monochromatic
#552178 #762FA8 #9648CC #B178D9 #CDA8E7

Accessibility & contrast

On white

5.13
#9648CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9648CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648CC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648CC#FFFFFF#000000##FFFFFF
##9648CC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#8E6384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9648cc;
/* rgb */ color: rgb(150, 72, 204);
/* oklch */ color: oklch(56.1% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#b980dc',
    500: '#9648cc',
    950: '#000000',
  },
}
SCSS
$custom: #9648cc;
$custom-light: #b980dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9648cc",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 275.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.20006,
    "h": 308.4
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#9648CC
secondary
#B3D49C
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9648CC

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

Preview Lab → · Contrast checker → · Palette generator →

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