#8F57FC#8F57FC

#8F57FC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.232 H 293.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F57FC
RGBrgb(143, 87, 252)
HSLhsl(260, 96%, 66%)
HSVhsv(260, 65%, 99%)
CMYKcmyk(43.3%, 65.5%, 0%, 1.2%)
CIE-LABlab(51.48, 58.07, -74.21)
CIE-LCHlch(51.48, 94.24, 308.04°)
OKLaboklab(60.7% 0.0942 -0.2122)
OKLCHoklch(60.7% 0.232 293.9)
XYZxyz(32.3018, 19.6834, 94.1740)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57FC #C4FC57
analogous
#5772FC #8F57FC #E257FC
triadic
#8F57FC #FC8F57 #57FC8F
tetradic
#8F57FC #FC5772 #C4FC57 #57FCE2
square
#8F57FC #FC5772 #C4FC57 #57FCE2
split-complementary
#8F57FC #FCE257 #72FC57
monochromatic
#4B04D5 #671BFB #8F57FC #B793FD #DFCFFE

Accessibility & contrast

On white

4.25
#8F57FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8F57FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57FC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57FC#FFFFFF#000000##000000
##8F57FC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#707FA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f57fc;
/* rgb */ color: rgb(143, 87, 252);
/* oklch */ color: oklch(60.7% 0.232 293.9);
Tailwind
colors: {
  custom: {
    50: '#b78afe',
    500: '#8f57fc',
    950: '#000000',
  },
}
SCSS
$custom: #8f57fc;
$custom-light: #b78afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57fc",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 260.364,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.23217,
    "h": 293.9
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#8F57FC
secondary
#E0F2BD
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F57FC

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

Preview Lab → · Contrast checker → · Palette generator →

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