#9D46CF#9D46CF

#9D46CF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.208 H 310.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9D46CF
RGBrgb(157, 70, 207)
HSLhsl(278, 59%, 54%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(24.2%, 66.2%, 0%, 18.8%)
CIE-LABlab(47.05, 58.37, -55.88)
CIE-LCHlch(47.05, 80.81, 316.25°)
OKLaboklab(56.9% 0.1354 -0.1578)
OKLCHoklch(56.9% 0.208 310.6)
XYZxyz(27.3551, 16.0540, 60.6771)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46CF #78CF46
analogous
#5946CF #9D46CF #CF46BD
triadic
#9D46CF #CF9D46 #46CF9D
tetradic
#9D46CF #CF5946 #78CF46 #46BDCF
square
#9D46CF #CF5946 #78CF46 #46BDCF
split-complementary
#9D46CF #BDCF46 #46CF59
monochromatic
#5A207B #7D2CAB #9D46CF #B777DC #D0A7E8

Accessibility & contrast

On white

4.99
#9D46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9D46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46CF#FFFFFF#000000##FFFFFF
##9D46CF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#966285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d46cf;
/* rgb */ color: rgb(157, 70, 207);
/* oklch */ color: oklch(56.9% 0.208 310.6);
Tailwind
colors: {
  custom: {
    50: '#be7fde',
    500: '#9d46cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d46cf;
$custom-light: #be7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46cf",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 278.102,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.569,
    "c": 0.20792,
    "h": 310.6
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#9D46CF
secondary
#B1D59B
accent
#E2467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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