#8F46DB#8F46DB

#8F46DB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.217 H 302.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8F46DB
RGBrgb(143, 70, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 68%, 86%)
CMYKcmyk(34.7%, 68%, 0%, 14.1%)
CIE-LABlab(46.09, 58.20, -64.39)
CIE-LCHlch(46.09, 86.79, 312.11°)
OKLaboklab(56.09% 0.1158 -0.1832)
OKLCHoklch(56.09% 0.217 302.3)
XYZxyz(26.3010, 15.3344, 68.5783)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46DB #92DB46
analogous
#4648DB #8F46DB #DA46DB
triadic
#8F46DB #DB8F46 #46DB8F
tetradic
#8F46DB #DB4648 #92DB46 #46DBDA
square
#8F46DB #DB4648 #92DB46 #46DBDA
split-complementary
#8F46DB #DBDA46 #48DB46
monochromatic
#521B8B #7025BF #8F46DB #AE79E5 #CDACEF

Accessibility & contrast

On white

5.16
#8F46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8F46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46DB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46DB#FFFFFF#000000##FFFFFF
##8F46DB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7F698B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f46db;
/* rgb */ color: rgb(143, 70, 219);
/* oklch */ color: oklch(56.1% 0.217 302.3);
Tailwind
colors: {
  custom: {
    50: '#b57fe7',
    500: '#8f46db',
    950: '#000000',
  },
}
SCSS
$custom: #8f46db;
$custom-light: #b57fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46db",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 269.396,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.21674,
    "h": 302.3
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#8F46DB
secondary
#BFDDA0
accent
#EA3D96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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