#9646D5#9646D5

#9646D5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.212 H 306.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9646D5
RGBrgb(150, 70, 213)
HSLhsl(274, 63%, 55%)
HSVhsv(274, 67%, 84%)
CMYKcmyk(29.6%, 67.1%, 0%, 16.5%)
CIE-LABlab(46.54, 58.22, -60.19)
CIE-LCHlch(46.54, 83.74, 314.04°)
OKLaboklab(56.47% 0.1258 -0.1707)
OKLCHoklch(56.47% 0.212 306.4)
XYZxyz(26.7755, 15.6687, 64.5517)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646D5 #85D546
analogous
#4E46D5 #9646D5 #D546CD
triadic
#9646D5 #D59646 #46D596
tetradic
#9646D5 #D54E46 #85D546 #46CDD5
square
#9646D5 #D54E46 #85D546 #46CDD5
split-complementary
#9646D5 #CDD546 #46D54E
monochromatic
#561E83 #7729B5 #9646D5 #B278E0 #CFAAEC

Accessibility & contrast

On white

5.08
#9646D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9646D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646D5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646D5#FFFFFF#000000##FFFFFF
##9646D51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#8B6588
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9646d5;
/* rgb */ color: rgb(150, 70, 213);
/* oklch */ color: oklch(56.5% 0.212 306.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fe3',
    500: '#9646d5',
    950: '#000000',
  },
}
SCSS
$custom: #9646d5;
$custom-light: #ba7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9646d5",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 273.566,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.21202,
    "h": 306.4
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#9646D5
secondary
#B8D99E
accent
#E6428A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9646D5

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

Preview Lab → · Contrast checker → · Palette generator →

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