#9648DD#9648DD

#9648DD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.218 H 304.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9648DD
RGBrgb(150, 72, 221)
HSLhsl(271, 69%, 57%)
HSVhsv(271, 67%, 87%)
CMYKcmyk(32.1%, 67.4%, 0%, 13.3%)
CIE-LABlab(47.42, 59.12, -63.34)
CIE-LCHlch(47.42, 86.64, 313.03°)
OKLaboklab(57.27% 0.1228 -0.1799)
OKLCHoklch(57.27% 0.218 304.3)
XYZxyz(27.9432, 16.3393, 70.0743)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648DD #8FDD48
analogous
#4B48DD #9648DD #DD48DA
triadic
#9648DD #DD9648 #48DD96
tetradic
#9648DD #DD4B48 #8FDD48 #48DADD
square
#9648DD #DD4B48 #8FDD48 #48DADD
split-complementary
#9648DD #DADD48 #48DD4B
monochromatic
#581B90 #7824C3 #9648DD #B47CE7 #D1AFF0

Accessibility & contrast

On white

4.92
#9648DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9648DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648DD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648DD#FFFFFF#000000##FFFFFF
##9648DD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0A70DA
Tritanopia (blue-blind)
#896A8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9648dd;
/* rgb */ color: rgb(150, 72, 221);
/* oklch */ color: oklch(57.3% 0.218 304.3);
Tailwind
colors: {
  custom: {
    50: '#ba80e8',
    500: '#9648dd',
    950: '#000000',
  },
}
SCSS
$custom: #9648dd;
$custom-light: #ba80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9648dd",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 271.409,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.2178,
    "h": 304.3
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#9648DD
secondary
#BFDEA2
accent
#EC3C90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648DD

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

Preview Lab → · Contrast checker → · Palette generator →

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