#9648C7#9648C7

#9648C7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.8% C 0.195 H 309.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9648C7
RGBrgb(150, 72, 199)
HSLhsl(277, 53%, 53%)
HSVhsv(277, 64%, 78%)
CMYKcmyk(24.6%, 63.8%, 0%, 22%)
CIE-LABlab(45.97, 54.13, -53.06)
CIE-LCHlch(45.97, 75.80, 315.57°)
OKLaboklab(55.77% 0.1247 -0.1497)
OKLCHoklch(55.77% 0.195 309.8)
XYZxyz(25.2018, 15.2428, 55.6363)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648C7 #79C748
analogous
#5648C7 #9648C7 #C748B9
triadic
#9648C7 #C79648 #48C796
tetradic
#9648C7 #C75648 #79C748 #48B9C7
square
#9648C7 #C75648 #79C748 #48B9C7
split-complementary
#9648C7 #B9C748 #48C756
monochromatic
#532372 #7631A1 #9648C7 #B177D5 #CCA6E4

Accessibility & contrast

On white

5.19
#9648C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9648C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648C7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648C7#FFFFFF#000000##FFFFFF
##9648C71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#8F6181
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9648c7;
/* rgb */ color: rgb(150, 72, 199);
/* oklch */ color: oklch(55.8% 0.195 309.8);
Tailwind
colors: {
  custom: {
    50: '#b980d9',
    500: '#9648c7',
    950: '#000000',
  },
}
SCSS
$custom: #9648c7;
$custom-light: #b980d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9648c7",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 276.85,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.19483,
    "h": 309.8
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#9648C7
secondary
#AFD19A
accent
#DD4B83
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9648C7

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

Preview Lab → · Contrast checker → · Palette generator →

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