#8F5DE3#8F5DE3

#8F5DE3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.195 H 297.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5DE3
RGBrgb(143, 93, 227)
HSLhsl(262, 71%, 63%)
HSVhsv(262, 59%, 89%)
CMYKcmyk(37%, 59%, 0%, 11%)
CIE-LABlab(50.94, 48.49, -61.09)
CIE-LCHlch(50.94, 77.99, 308.44°)
OKLaboklab(59.77% 0.0897 -0.1736)
OKLCHoklch(59.77% 0.195 297.3)
XYZxyz(29.1037, 19.2140, 74.8335)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DE3 #B1E35D
analogous
#5D6EE3 #8F5DE3 #D25DE3
triadic
#8F5DE3 #E38F5D #5DE38F
tetradic
#8F5DE3 #E35D6E #B1E35D #5DE3D2
square
#8F5DE3 #E35D6E #B1E35D #5DE3D2
split-complementary
#8F5DE3 #E3D25D #6EE35D
monochromatic
#511DA8 #6B29DA #8F5DE3 #B391EC #D7C5F5

Accessibility & contrast

On white

4.34
#8F5DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F5DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DE3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DE3#FFFFFF#000000##000000
##8F5DE31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#7B7A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5de3;
/* rgb */ color: rgb(143, 93, 227);
/* oklch */ color: oklch(59.8% 0.195 297.3);
Tailwind
colors: {
  custom: {
    50: '#b58ded',
    500: '#8f5de3',
    950: '#000000',
  },
}
SCSS
$custom: #8f5de3;
$custom-light: #b58ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5de3",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 262.388,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.19542,
    "h": 297.3
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#8F5DE3
secondary
#D4E6B6
accent
#D3138B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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