#8F46DE#8F46DE

#8F46DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.220 H 301.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F46DE
RGBrgb(143, 70, 222)
HSLhsl(269, 70%, 57%)
HSVhsv(269, 68%, 87%)
CMYKcmyk(35.6%, 68.5%, 0%, 12.9%)
CIE-LABlab(46.30, 58.91, -65.75)
CIE-LCHlch(46.30, 88.28, 311.86°)
OKLaboklab(56.31% 0.1154 -0.1872)
OKLCHoklch(56.31% 0.22 301.6)
XYZxyz(26.6995, 15.4938, 70.6770)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46DE #95DE46
analogous
#4649DE #8F46DE #DB46DE
triadic
#8F46DE #DE8F46 #46DE8F
tetradic
#8F46DE #DE4649 #95DE46 #46DEDB
square
#8F46DE #DE4649 #95DE46 #46DEDB
split-complementary
#8F46DE #DEDB46 #49DE46
monochromatic
#521A90 #7023C4 #8F46DE #AE7AE7 #CEAEF1

Accessibility & contrast

On white

5.12
#8F46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8F46DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46DE#FFFFFF#000000##FFFFFF
##8F46DE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#7E6A8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f46de;
/* rgb */ color: rgb(143, 70, 222);
/* oklch */ color: oklch(56.3% 0.220 301.6);
Tailwind
colors: {
  custom: {
    50: '#b67fe9',
    500: '#8f46de',
    950: '#000000',
  },
}
SCSS
$custom: #8f46de;
$custom-light: #b67fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46de",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 268.816,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.21991,
    "h": 301.6
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#8F46DE
secondary
#C1DFA1
accent
#ED3B97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F46DE

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

Preview Lab → · Contrast checker → · Palette generator →

#8F46DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva