#9648DA#9648DA

#9648DA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.215 H 305.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9648DA
RGBrgb(150, 72, 218)
HSLhsl(272, 66%, 57%)
HSVhsv(272, 67%, 85%)
CMYKcmyk(31.2%, 67%, 0%, 14.5%)
CIE-LABlab(47.21, 58.43, -61.96)
CIE-LCHlch(47.21, 85.16, 313.32°)
OKLaboklab(57.06% 0.1231 -0.1759)
OKLCHoklch(57.06% 0.215 305)
XYZxyz(27.5471, 16.1809, 67.9881)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648DA #8CDA48
analogous
#4D48DA #9648DA #DA48D5
triadic
#9648DA #DA9648 #48DA96
tetradic
#9648DA #DA4D48 #8CDA48 #48D5DA
square
#9648DA #DA4D48 #8CDA48 #48D5DA
split-complementary
#9648DA #D5DA48 #48DA4D
monochromatic
#581C8B #7826BE #9648DA #B37BE4 #D0AEEF

Accessibility & contrast

On white

4.96
#9648DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9648DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648DA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648DA#FFFFFF#000000##FFFFFF
##9648DA1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#1670D7
Tritanopia (blue-blind)
#8A698B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9648da;
/* rgb */ color: rgb(150, 72, 218);
/* oklch */ color: oklch(57.1% 0.215 305.0);
Tailwind
colors: {
  custom: {
    50: '#ba80e6',
    500: '#9648da',
    950: '#000000',
  },
}
SCSS
$custom: #9648da;
$custom-light: #ba80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9648da",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 272.055,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.21468,
    "h": 305
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#9648DA
secondary
#BDDDA1
accent
#E93F8E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9648DA

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

Preview Lab → · Contrast checker → · Palette generator →

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