#8F5FEE#8F5FEE

#8F5FEE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.206 H 295.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F5FEE
RGBrgb(143, 95, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 60%, 93%)
CMYKcmyk(39.9%, 60.1%, 0%, 6.7%)
CIE-LABlab(52.06, 50.26, -65.46)
CIE-LCHlch(52.06, 82.53, 307.51°)
OKLaboklab(60.81% 0.087 -0.1864)
OKLCHoklch(60.81% 0.206 295)
XYZxyz(30.8484, 20.1964, 83.1453)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FEE #BEEE5F
analogous
#5F76EE #8F5FEE #D75FEE
triadic
#8F5FEE #EE8F5F #5FEE8F
tetradic
#8F5FEE #EE5F76 #BEEE5F #5FEED7
square
#8F5FEE #EE5F76 #BEEE5F #5FEED7
split-complementary
#8F5FEE #EED75F #76EE5F
monochromatic
#4D14BE #6828E8 #8F5FEE #B696F4 #DCCEFA

Accessibility & contrast

On white

4.17
#8F5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8F5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FEE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FEE#FFFFFF#000000##000000
##8F5FEE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0E7AEB
Tritanopia (blue-blind)
#777F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5fee;
/* rgb */ color: rgb(143, 95, 238);
/* oklch */ color: oklch(60.8% 0.206 295.0);
Tailwind
colors: {
  custom: {
    50: '#b68ef4',
    500: '#8f5fee',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fee;
$custom-light: #b68ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fee",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 260.14,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.20577,
    "h": 295
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#8F5FEE
secondary
#DCECBC
accent
#DD0896
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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