#8F5FFE#8F5FFE

#8F5FFE is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.225 H 292.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8F5FFE
RGBrgb(143, 95, 254)
HSLhsl(258, 99%, 68%)
HSVhsv(258, 63%, 100%)
CMYKcmyk(43.7%, 62.6%, 0%, 0.4%)
CIE-LABlab(53.14, 54.46, -72.62)
CIE-LCHlch(53.14, 90.77, 306.87°)
OKLaboklab(61.95% 0.086 -0.2075)
OKLCHoklch(61.95% 0.225 292.5)
XYZxyz(33.3044, 21.1788, 96.0799)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FFE #CEFE5F
analogous
#5F7EFE #8F5FFE #DE5FFE
triadic
#8F5FFE #FE8F5F #5FFE8F
tetradic
#8F5FFE #FE5F7E #CEFE5F #5FFEDE
square
#8F5FFE #FE5F7E #CEFE5F #5FFEDE
split-complementary
#8F5FFE #FEDE5F #7EFE5F
monochromatic
#4501E1 #6422FE #8F5FFE #BA9CFE #E4D9FF

Accessibility & contrast

On white

4.01
#8F5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8F5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FFE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FFE#FFFFFF#000000##000000
##8F5FFE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#6F84A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f5ffe;
/* rgb */ color: rgb(143, 95, 254);
/* oklch */ color: oklch(61.9% 0.225 292.5);
Tailwind
colors: {
  custom: {
    50: '#b78fff',
    500: '#8f5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ffe;
$custom-light: #b78fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ffe",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 258.113,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.2246,
    "h": 292.5
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#8F5FFE
secondary
#E6F4C4
accent
#E600A0
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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