#9E46DF#9E46DF

#9E46DF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.224 H 307.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E46DF
RGBrgb(158, 70, 223)
HSLhsl(275, 71%, 57%)
HSVhsv(275, 69%, 87%)
CMYKcmyk(29.1%, 68.6%, 0%, 12.5%)
CIE-LABlab(48.23, 62.08, -63.11)
CIE-LCHlch(48.23, 88.52, 314.53°)
OKLaboklab(58.11% 0.1351 -0.179)
OKLCHoklch(58.11% 0.224 307)
XYZxyz(29.6072, 16.9775, 71.5150)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46DF #87DF46
analogous
#5246DF #9E46DF #DF46D3
triadic
#9E46DF #DF9E46 #46DF9E
tetradic
#9E46DF #DF5246 #87DF46 #46D3DF
square
#9E46DF #DF5246 #87DF46 #46D3DF
split-complementary
#9E46DF #D3DF46 #46DF52
monochromatic
#5E1991 #8022C6 #9E46DF #B97AE8 #D5AEF1

Accessibility & contrast

On white

4.78
#9E46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9E46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46DF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46DF#FFFFFF#000000##FFFFFF
##9E46DF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#1A73DC
Tritanopia (blue-blind)
#93688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e46df;
/* rgb */ color: rgb(158, 70, 223);
/* oklch */ color: oklch(58.1% 0.224 307.0);
Tailwind
colors: {
  custom: {
    50: '#c080ea',
    500: '#9e46df',
    950: '#000000',
  },
}
SCSS
$custom: #9e46df;
$custom-light: #c080ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46df",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 274.51,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.22422,
    "h": 307
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#9E46DF
secondary
#BCDFA2
accent
#ED3B86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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