#8F5FF0#8F5FF0

#8F5FF0 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.208 H 294.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F5FF0
RGBrgb(143, 95, 240)
HSLhsl(260, 83%, 66%)
HSVhsv(260, 60%, 94%)
CMYKcmyk(40.4%, 60.4%, 0%, 5.9%)
CIE-LABlab(52.19, 50.78, -66.37)
CIE-LCHlch(52.19, 83.57, 307.42°)
OKLaboklab(60.95% 0.0869 -0.1891)
OKLCHoklch(60.95% 0.208 294.7)
XYZxyz(31.1439, 20.3146, 84.7014)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FF0 #C0F05F
analogous
#5F77F0 #8F5FF0 #D75FF0
triadic
#8F5FF0 #F08F5F #5FF08F
tetradic
#8F5FF0 #F05F77 #C0F05F #5FF0D7
square
#8F5FF0 #F05F77 #C0F05F #5FF0D7
split-complementary
#8F5FF0 #F0D75F #77F05F
monochromatic
#4D12C2 #6827EB #8F5FF0 #B697F5 #DDCFFA

Accessibility & contrast

On white

4.15
#8F5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8F5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FF0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FF0#FFFFFF#000000##000000
##8F5FF01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#027AED
Tritanopia (blue-blind)
#767F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5ff0;
/* rgb */ color: rgb(143, 95, 240);
/* oklch */ color: oklch(61.0% 0.208 294.7);
Tailwind
colors: {
  custom: {
    50: '#b68ef6',
    500: '#8f5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ff0;
$custom-light: #b68ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ff0",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 259.862,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.20814,
    "h": 294.7
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#8F5FF0
secondary
#DEEEBD
accent
#DF0697
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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