#9646E2#9646E2

#9646E2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.225 H 303.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9646E2
RGBrgb(150, 70, 226)
HSLhsl(271, 73%, 58%)
HSVhsv(271, 69%, 89%)
CMYKcmyk(33.6%, 69%, 0%, 11.4%)
CIE-LABlab(47.44, 61.19, -66.14)
CIE-LCHlch(47.44, 90.11, 312.77°)
OKLaboklab(57.4% 0.1241 -0.1882)
OKLCHoklch(57.4% 0.225 303.4)
XYZxyz(28.4921, 16.3554, 73.5926)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646E2 #92E246
analogous
#4846E2 #9646E2 #E246E0
triadic
#9646E2 #E29646 #46E296
tetradic
#9646E2 #E24846 #92E246 #46E0E2
square
#9646E2 #E24846 #92E246 #46E0E2
split-complementary
#9646E2 #E0E246 #46E248
monochromatic
#581896 #7820CB #9646E2 #B47BEA #D2B0F3

Accessibility & contrast

On white

4.92
#9646E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9646E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646E2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646E2#FFFFFF#000000##FFFFFF
##9646E21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#876A8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9646e2;
/* rgb */ color: rgb(150, 70, 226);
/* oklch */ color: oklch(57.4% 0.225 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fec',
    500: '#9646e2',
    950: '#000000',
  },
}
SCSS
$custom: #9646e2;
$custom-light: #ba7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#9646e2",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 270.769,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.22542,
    "h": 303.4
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#9646E2
secondary
#C1E1A3
accent
#F03892
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9646E2

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

Preview Lab → · Contrast checker → · Palette generator →

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