#8F5BEC#8F5BEC

#8F5BEC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.209 H 296.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8F5BEC
RGBrgb(143, 91, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 61%, 93%)
CMYKcmyk(39.4%, 61.4%, 0%, 7.5%)
CIE-LABlab(51.13, 51.87, -65.85)
CIE-LCHlch(51.13, 83.83, 308.23°)
OKLaboklab(60.09% 0.0916 -0.1876)
OKLCHoklch(60.09% 0.209 296)
XYZxyz(30.2052, 19.3773, 81.4894)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BEC #B8EC5B
analogous
#5B70EC #8F5BEC #D75BEC
triadic
#8F5BEC #EC8F5B #5BEC8F
tetradic
#8F5BEC #EC5B70 #B8EC5B #5BECD7
square
#8F5BEC #EC5B70 #B8EC5B #5BECD7
split-complementary
#8F5BEC #ECD75B #70EC5B
monochromatic
#4F15B7 #6A24E6 #8F5BEC #B492F2 #DAC9F9

Accessibility & contrast

On white

4.31
#8F5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8F5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BEC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BEC#FFFFFF#000000##000000
##8F5BEC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#787B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5bec;
/* rgb */ color: rgb(143, 91, 236);
/* oklch */ color: oklch(60.1% 0.209 296.0);
Tailwind
colors: {
  custom: {
    50: '#b68cf3',
    500: '#8f5bec',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bec;
$custom-light: #b68cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bec",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 261.517,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.20876,
    "h": 296
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#8F5BEC
secondary
#D9EBB8
accent
#DC0A90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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