#8F5DF4#8F5DF4

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

Color values

HEX#8F5DF4
RGBrgb(143, 93, 244)
HSLhsl(260, 87%, 66%)
HSVhsv(260, 62%, 96%)
CMYKcmyk(41.4%, 61.9%, 0%, 4.3%)
CIE-LABlab(52.06, 52.89, -68.81)
CIE-LCHlch(52.06, 86.79, 307.55°)
OKLaboklab(60.94% 0.0889 -0.1963)
OKLCHoklch(60.94% 0.215 294.4)
XYZxyz(31.5668, 20.1992, 87.8061)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DF4 #C2F45D
analogous
#5D76F4 #8F5DF4 #DB5DF4
triadic
#8F5DF4 #F48F5D #5DF48F
tetradic
#8F5DF4 #F45D76 #C2F45D #5DF4DB
square
#8F5DF4 #F45D76 #C2F45D #5DF4DB
split-complementary
#8F5DF4 #F4DB5D #76F45D
monochromatic
#4C0EC9 #6724F0 #8F5DF4 #B796F8 #DED0FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5DF4#FFFFFF#000000##000000
##8F5DF41.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)
#007EF9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#747FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5df4;
/* rgb */ color: rgb(143, 93, 244);
/* oklch */ color: oklch(60.9% 0.215 294.4);
Tailwind
colors: {
  custom: {
    50: '#b68df9',
    500: '#8f5df4',
    950: '#000000',
  },
}
SCSS
$custom: #8f5df4;
$custom-light: #b68df9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5df4",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 259.868,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.21548,
    "h": 294.4
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#8F5DF4
secondary
#DFEFBE
accent
#E40299
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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