#9646DF#9646DF

#9646DF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.2% C 0.222 H 304.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9646DF
RGBrgb(150, 70, 223)
HSLhsl(271, 71%, 57%)
HSVhsv(271, 69%, 87%)
CMYKcmyk(32.7%, 68.6%, 0%, 12.5%)
CIE-LABlab(47.23, 60.50, -64.78)
CIE-LCHlch(47.23, 88.64, 313.04°)
OKLaboklab(57.18% 0.1246 -0.1842)
OKLCHoklch(57.18% 0.222 304.1)
XYZxyz(28.0841, 16.1921, 71.4436)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646DF #8FDF46
analogous
#4A46DF #9646DF #DF46DB
triadic
#9646DF #DF9646 #46DF96
tetradic
#9646DF #DF4A46 #8FDF46 #46DBDF
square
#9646DF #DF4A46 #8FDF46 #46DBDF
split-complementary
#9646DF #DBDF46 #46DF4A
monochromatic
#581991 #7822C6 #9646DF #B47AE8 #D1AEF1

Accessibility & contrast

On white

4.95
#9646DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9646DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646DF#FFFFFF#000000##FFFFFF
##9646DF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#88698D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9646df;
/* rgb */ color: rgb(150, 70, 223);
/* oklch */ color: oklch(57.2% 0.222 304.1);
Tailwind
colors: {
  custom: {
    50: '#ba7fea',
    500: '#9646df',
    950: '#000000',
  },
}
SCSS
$custom: #9646df;
$custom-light: #ba7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9646df",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 271.373,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.22233,
    "h": 304.1
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#9646DF
secondary
#BFDFA2
accent
#ED3B90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9646DF

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

Preview Lab → · Contrast checker → · Palette generator →

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