#8F5FE1#8F5FE1

#8F5FE1 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.190 H 297.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F5FE1
RGBrgb(143, 95, 225)
HSLhsl(262, 68%, 63%)
HSVhsv(262, 58%, 88%)
CMYKcmyk(36.4%, 57.8%, 0%, 11.8%)
CIE-LABlab(51.22, 46.89, -59.50)
CIE-LCHlch(51.22, 75.76, 308.24°)
OKLaboklab(59.93% 0.0874 -0.1689)
OKLCHoklch(59.93% 0.19 297.4)
XYZxyz(29.0071, 19.4599, 73.4474)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FE1 #B1E15F
analogous
#5F70E1 #8F5FE1 #D05FE1
triadic
#8F5FE1 #E18F5F #5FE18F
tetradic
#8F5FE1 #E15F70 #B1E15F #5FE1D0
square
#8F5FE1 #E15F70 #B1E15F #5FE1D0
split-complementary
#8F5FE1 #E1D05F #70E15F
monochromatic
#511FA6 #6B2BD7 #8F5FE1 #B393EB #D7C6F4

Accessibility & contrast

On white

4.29
#8F5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8F5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FE1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FE1#FFFFFF#000000##000000
##8F5FE11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#167AE5
Deuteranopia (green-blind)
#2E79DE
Tritanopia (blue-blind)
#7C7A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5fe1;
/* rgb */ color: rgb(143, 95, 225);
/* oklch */ color: oklch(59.9% 0.190 297.4);
Tailwind
colors: {
  custom: {
    50: '#b48eeb',
    500: '#8f5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fe1;
$custom-light: #b48eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fe1",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 262.154,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59933,
    "c": 0.19022,
    "h": 297.4
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#8F5FE1
secondary
#D4E5B6
accent
#D0158B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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