#8F5CE7#8F5CE7

#8F5CE7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.202 H 296.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8F5CE7
RGBrgb(143, 92, 231)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(38.1%, 60.2%, 0%, 9.4%)
CIE-LABlab(50.99, 50.05, -63.25)
CIE-LCHlch(50.99, 80.66, 308.35°)
OKLaboklab(59.89% 0.0907 -0.1799)
OKLCHoklch(59.89% 0.202 296.8)
XYZxyz(29.5749, 19.2629, 77.7457)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE7 #B4E75C
analogous
#5C6EE7 #8F5CE7 #D45CE7
triadic
#8F5CE7 #E78F5C #5CE78F
tetradic
#8F5CE7 #E75C6E #B4E75C #5CE7D4
square
#8F5CE7 #E75C6E #B4E75C #5CE7D4
split-complementary
#8F5CE7 #E7D45C #6EE75C
monochromatic
#501AAF #6A27DF #8F5CE7 #B491EF #D8C7F7

Accessibility & contrast

On white

4.33
#8F5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8F5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CE7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CE7#FFFFFF#000000##000000
##8F5CE71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1B78E4
Tritanopia (blue-blind)
#7A7A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5ce7;
/* rgb */ color: rgb(143, 92, 231);
/* oklch */ color: oklch(59.9% 0.202 296.8);
Tailwind
colors: {
  custom: {
    50: '#b58cef',
    500: '#8f5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce7;
$custom-light: #b58cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce7",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 262.014,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.20153,
    "h": 296.8
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#8F5CE7
secondary
#D6E8B7
accent
#D60F8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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