#9648CD#9648CD

#9648CD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.201 H 308.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9648CD
RGBrgb(150, 72, 205)
HSLhsl(275, 57%, 54%)
HSVhsv(275, 65%, 80%)
CMYKcmyk(26.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(46.35, 55.47, -55.90)
CIE-LCHlch(46.35, 78.75, 314.78°)
OKLaboklab(56.16% 0.1243 -0.1581)
OKLCHoklch(56.16% 0.201 308.2)
XYZxyz(25.9122, 15.5269, 59.3777)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648CD #7FCD48
analogous
#5448CD #9648CD #CD48C2
triadic
#9648CD #CD9648 #48CD96
tetradic
#9648CD #CD5448 #7FCD48 #48C2CD
square
#9648CD #CD5448 #7FCD48 #48C2CD
split-complementary
#9648CD #C2CD48 #48CD54
monochromatic
#552179 #772EA9 #9648CD #B278DA #CDA8E7

Accessibility & contrast

On white

5.12
#9648CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9648CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648CD#FFFFFF#000000##FFFFFF
##9648CD1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#8E6484
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9648cd;
/* rgb */ color: rgb(150, 72, 205);
/* oklch */ color: oklch(56.2% 0.201 308.2);
Tailwind
colors: {
  custom: {
    50: '#b980dd',
    500: '#9648cd',
    950: '#000000',
  },
}
SCSS
$custom: #9648cd;
$custom-light: #b980dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9648cd",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 275.188,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.2011,
    "h": 308.2
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#9648CD
secondary
#B4D59C
accent
#E04787
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9648CD

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

Preview Lab → · Contrast checker → · Palette generator →

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