#9D46CA#9D46CA

#9D46CA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.203 H 312.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9D46CA
RGBrgb(157, 70, 202)
HSLhsl(280, 55%, 53%)
HSVhsv(280, 65%, 79%)
CMYKcmyk(22.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(46.73, 57.30, -53.51)
CIE-LCHlch(46.73, 78.40, 316.96°)
OKLaboklab(56.57% 0.1358 -0.1508)
OKLCHoklch(56.57% 0.203 312)
XYZxyz(26.7535, 15.8134, 57.5086)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46CA #73CA46
analogous
#5B46CA #9D46CA #CA46B5
triadic
#9D46CA #CA9D46 #46CA9D
tetradic
#9D46CA #CA5B46 #73CA46 #46B5CA
square
#9D46CA #CA5B46 #73CA46 #46B5CA
split-complementary
#9D46CA #B5CA46 #46CA5B
monochromatic
#582174 #7C2FA4 #9D46CA #B676D8 #CFA5E5

Accessibility & contrast

On white

5.04
#9D46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9D46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46CA#FFFFFF#000000##FFFFFF
##9D46CA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#986082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d46ca;
/* rgb */ color: rgb(157, 70, 202);
/* oklch */ color: oklch(56.6% 0.203 312.0);
Tailwind
colors: {
  custom: {
    50: '#be7fdb',
    500: '#9d46ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d46ca;
$custom-light: #be7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46ca",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 279.545,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.20292,
    "h": 312
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#9D46CA
secondary
#ADD29A
accent
#DF497C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9D46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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