#9648CA#9648CA

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

Color values

HEX#9648CA
RGBrgb(150, 72, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 64%, 79%)
CMYKcmyk(25.7%, 64.4%, 0%, 20.8%)
CIE-LABlab(46.16, 54.80, -54.48)
CIE-LCHlch(46.16, 77.27, 315.16°)
OKLaboklab(55.96% 0.1245 -0.1539)
OKLCHoklch(55.96% 0.198 309)
XYZxyz(25.5536, 15.3835, 57.4888)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648CA #7CCA48
analogous
#5548CA #9648CA #CA48BD
triadic
#9648CA #CA9648 #48CA96
tetradic
#9648CA #CA5548 #7CCA48 #48BDCA
square
#9648CA #CA5548 #7CCA48 #48BDCA
split-complementary
#9648CA #BDCA48 #48CA55
monochromatic
#542276 #7630A5 #9648CA #B177D8 #CCA7E5

Accessibility & contrast

On white

5.15
#9648CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9648CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648CA#FFFFFF#000000##FFFFFF
##9648CA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#8E6383
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9648ca;
/* rgb */ color: rgb(150, 72, 202);
/* oklch */ color: oklch(56.0% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#b980db',
    500: '#9648ca',
    950: '#000000',
  },
}
SCSS
$custom: #9648ca;
$custom-light: #b980db;
$custom-dark: #000000;
JSON
{
  "hex": "#9648ca",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 276,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.19796,
    "h": 309
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#9648CA
secondary
#B1D39B
accent
#DE4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9648CA

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

Preview Lab → · Contrast checker → · Palette generator →

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