#9D46CE#9D46CE

#9D46CE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.207 H 310.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9D46CE
RGBrgb(157, 70, 206)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(23.8%, 66%, 0%, 19.2%)
CIE-LABlab(46.98, 58.16, -55.41)
CIE-LCHlch(46.98, 80.33, 316.38°)
OKLaboklab(56.83% 0.1355 -0.1564)
OKLCHoklch(56.83% 0.207 310.9)
XYZxyz(27.2333, 16.0053, 60.0353)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46CE #77CE46
analogous
#5946CE #9D46CE #CE46BB
triadic
#9D46CE #CE9D46 #46CE9D
tetradic
#9D46CE #CE5946 #77CE46 #46BBCE
square
#9D46CE #CE5946 #77CE46 #46BBCE
split-complementary
#9D46CE #BBCE46 #46CE59
monochromatic
#592079 #7D2DAA #9D46CE #B776DB #D0A7E8

Accessibility & contrast

On white

5.00
#9D46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9D46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46CE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46CE#FFFFFF#000000##FFFFFF
##9D46CE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#976284
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d46ce;
/* rgb */ color: rgb(157, 70, 206);
/* oklch */ color: oklch(56.8% 0.207 310.9);
Tailwind
colors: {
  custom: {
    50: '#be7fde',
    500: '#9d46ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d46ce;
$custom-light: #be7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46ce",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 278.382,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.20693,
    "h": 310.9
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#9D46CE
secondary
#B0D59B
accent
#E1467E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D46CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9D46CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva