#9646E3#9646E3

#9646E3 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.226 H 303.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9646E3
RGBrgb(150, 70, 227)
HSLhsl(271, 74%, 58%)
HSVhsv(271, 69%, 89%)
CMYKcmyk(33.9%, 69.2%, 0%, 11%)
CIE-LABlab(47.51, 61.43, -66.59)
CIE-LCHlch(47.51, 90.60, 312.69°)
OKLaboklab(57.47% 0.124 -0.1895)
OKLCHoklch(57.47% 0.226 303.2)
XYZxyz(28.6297, 16.4104, 74.3174)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646E3 #93E346
analogous
#4746E3 #9646E3 #E346E2
triadic
#9646E3 #E39646 #46E396
tetradic
#9646E3 #E34746 #93E346 #46E2E3
square
#9646E3 #E34746 #93E346 #46E2E3
split-complementary
#9646E3 #E2E346 #46E347
monochromatic
#591798 #781FCD #9646E3 #B47BEB #D2B0F3

Accessibility & contrast

On white

4.90
#9646E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9646E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646E3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646E3#FFFFFF#000000##FFFFFF
##9646E31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#876B90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9646e3;
/* rgb */ color: rgb(150, 70, 227);
/* oklch */ color: oklch(57.5% 0.226 303.2);
Tailwind
colors: {
  custom: {
    50: '#bb7fed',
    500: '#9646e3',
    950: '#000000',
  },
}
SCSS
$custom: #9646e3;
$custom-light: #bb7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#9646e3",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 270.573,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.22645,
    "h": 303.2
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#9646E3
secondary
#C2E2A3
accent
#F03792
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9646E3

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

Preview Lab → · Contrast checker → · Palette generator →

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