#8F5CE9#8F5CE9

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

Color values

HEX#8F5CE9
RGBrgb(143, 92, 233)
HSLhsl(262, 76%, 64%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.6%, 60.5%, 0%, 8.6%)
CIE-LABlab(51.12, 50.57, -64.17)
CIE-LCHlch(51.12, 81.70, 308.24°)
OKLaboklab(60.03% 0.0907 -0.1826)
OKLCHoklch(60.03% 0.204 296.4)
XYZxyz(29.8590, 19.3766, 79.2419)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE9 #B6E95C
analogous
#5C6FE9 #8F5CE9 #D55CE9
triadic
#8F5CE9 #E98F5C #5CE98F
tetradic
#8F5CE9 #E95C6F #B6E95C #5CE9D5
square
#8F5CE9 #E95C6F #B6E95C #5CE9D5
split-complementary
#8F5CE9 #E9D55C #6FE95C
monochromatic
#5018B3 #6A26E2 #8F5CE9 #B492F0 #D9C8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5CE9#FFFFFF#000000##000000
##8F5CE91.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)
#007BEE
Deuteranopia (green-blind)
#1578E6
Tritanopia (blue-blind)
#797B9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5ce9;
/* rgb */ color: rgb(143, 92, 233);
/* oklch */ color: oklch(60.0% 0.204 296.4);
Tailwind
colors: {
  custom: {
    50: '#b58cf1',
    500: '#8f5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce9;
$custom-light: #b58cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce9",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 261.702,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.2039,
    "h": 296.4
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#8F5CE9
secondary
#D7E9B8
accent
#D80D8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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