#9646D4#9646D4

#9646D4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.211 H 306.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9646D4
RGBrgb(150, 70, 212)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(29.2%, 67%, 0%, 16.9%)
CIE-LABlab(46.47, 57.99, -59.73)
CIE-LCHlch(46.47, 83.25, 314.15°)
OKLaboklab(56.4% 0.1259 -0.1693)
OKLCHoklch(56.4% 0.211 306.6)
XYZxyz(26.6490, 15.6181, 63.8853)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646D4 #84D446
analogous
#4F46D4 #9646D4 #D446CB
triadic
#9646D4 #D49646 #46D496
tetradic
#9646D4 #D44F46 #84D446 #46CBD4
square
#9646D4 #D44F46 #84D446 #46CBD4
split-complementary
#9646D4 #CBD446 #46D44F
monochromatic
#561E81 #772AB3 #9646D4 #B278E0 #CEA9EB

Accessibility & contrast

On white

5.09
#9646D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9646D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646D4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646D4#FFFFFF#000000##FFFFFF
##9646D41.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#206FD1
Tritanopia (blue-blind)
#8C6587
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9646d4;
/* rgb */ color: rgb(150, 70, 212);
/* oklch */ color: oklch(56.4% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#b97fe2',
    500: '#9646d4',
    950: '#000000',
  },
}
SCSS
$custom: #9646d4;
$custom-light: #b97fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9646d4",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 273.803,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.21099,
    "h": 306.6
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#9646D4
secondary
#B7D99D
accent
#E5428A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9646D4

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

Preview Lab → · Contrast checker → · Palette generator →

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