#8F46E3#8F46E3

#8F46E3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.225 H 300.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F46E3
RGBrgb(143, 70, 227)
HSLhsl(268, 74%, 58%)
HSVhsv(268, 69%, 89%)
CMYKcmyk(37%, 69.2%, 0%, 11%)
CIE-LABlab(46.67, 60.11, -68.00)
CIE-LCHlch(46.67, 90.76, 311.47°)
OKLaboklab(56.68% 0.1146 -0.1938)
OKLCHoklch(56.68% 0.225 300.6)
XYZxyz(27.3796, 15.7658, 74.2588)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46E3 #9AE346
analogous
#464BE3 #8F46E3 #DD46E3
triadic
#8F46E3 #E38F46 #46E38F
tetradic
#8F46E3 #E3464B #9AE346 #46E3DD
square
#8F46E3 #E3464B #9AE346 #46E3DD
split-complementary
#8F46E3 #E3DD46 #4BE346
monochromatic
#531798 #701FCD #8F46E3 #AF7BEB #CFB0F3

Accessibility & contrast

On white

5.06
#8F46E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8F46E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46E3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46E3#FFFFFF#000000##FFFFFF
##8F46E31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#7C6C90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f46e3;
/* rgb */ color: rgb(143, 70, 227);
/* oklch */ color: oklch(56.7% 0.225 300.6);
Tailwind
colors: {
  custom: {
    50: '#b67fed',
    500: '#8f46e3',
    950: '#000000',
  },
}
SCSS
$custom: #8f46e3;
$custom-light: #b67fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46e3",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 267.898,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.22519,
    "h": 300.6
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#8F46E3
secondary
#C5E2A3
accent
#F0379A
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F46E3

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

Preview Lab → · Contrast checker → · Palette generator →

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