#9646DD#9646DD

#9646DD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.220 H 304.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9646DD
RGBrgb(150, 70, 221)
HSLhsl(272, 69%, 57%)
HSVhsv(272, 68%, 87%)
CMYKcmyk(32.1%, 68.3%, 0%, 13.3%)
CIE-LABlab(47.09, 60.04, -63.87)
CIE-LCHlch(47.09, 87.66, 313.23°)
OKLaboklab(57.03% 0.1248 -0.1815)
OKLCHoklch(57.03% 0.22 304.5)
XYZxyz(27.8160, 16.0849, 70.0319)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646DD #8DDD46
analogous
#4B46DD #9646DD #DD46D9
triadic
#9646DD #DD9646 #46DD96
tetradic
#9646DD #DD4B46 #8DDD46 #46D9DD
square
#9646DD #DD4B46 #8DDD46 #46D9DD
split-complementary
#9646DD #D9DD46 #46DD4B
monochromatic
#581A8E #7824C2 #9646DD #B37AE7 #D1ADF0

Accessibility & contrast

On white

4.98
#9646DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9646DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646DD#FFFFFF#000000##FFFFFF
##9646DD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#89688C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9646dd;
/* rgb */ color: rgb(150, 70, 221);
/* oklch */ color: oklch(57.0% 0.220 304.5);
Tailwind
colors: {
  custom: {
    50: '#ba7fe8',
    500: '#9646dd',
    950: '#000000',
  },
}
SCSS
$custom: #9646dd;
$custom-light: #ba7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9646dd",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 271.788,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.22027,
    "h": 304.5
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#9646DD
secondary
#BEDEA1
accent
#EC3C8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9646DD

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

Preview Lab → · Contrast checker → · Palette generator →

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