#8F6FD2#8F6FD2

#8F6FD2 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.147 H 296.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8F6FD2
RGBrgb(143, 111, 210)
HSLhsl(259, 52%, 63%)
HSVhsv(259, 47%, 82%)
CMYKcmyk(31.9%, 47.1%, 0%, 17.6%)
CIE-LABlab(53.88, 34.01, -46.76)
CIE-LCHlch(53.88, 57.82, 306.03°)
OKLaboklab(61.63% 0.0664 -0.1316)
OKLCHoklch(61.63% 0.147 296.8)
XYZxyz(28.6421, 21.8613, 63.6709)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6FD2 #B2D26F
analogous
#6F80D2 #8F6FD2 #C06FD2
triadic
#8F6FD2 #D28F6F #6FD28F
tetradic
#8F6FD2 #D26F80 #B2D26F #6FD2C0
square
#8F6FD2 #D26F80 #B2D26F #6FD2C0
split-complementary
#8F6FD2 #D2C06F #80D26F
monochromatic
#512F97 #6B40C3 #8F6FD2 #B39EE1 #D8CCEF

Accessibility & contrast

On white

3.91
#8F6FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8F6FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6FD2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6FD2#FFFFFF#000000##000000
##8F6FD21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D6
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#808296
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f6fd2;
/* rgb */ color: rgb(143, 111, 210);
/* oklch */ color: oklch(61.6% 0.147 296.8);
Tailwind
colors: {
  custom: {
    50: '#b299e0',
    500: '#8f6fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f6fd2;
$custom-light: #b299e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6fd2",
  "rgb": {
    "r": 143,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 259.394,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61625,
    "c": 0.14738,
    "h": 296.8
  },
  "luminance": 0.21862
}

Semantic roles & 50–950 ramp

primary
#8F6FD2
secondary
#D5E0BD
accent
#C0268E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8F6FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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