#8D57FC#8D57FC

#8D57FC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.232 H 293.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D57FC
RGBrgb(141, 87, 252)
HSLhsl(260, 96%, 66%)
HSVhsv(260, 65%, 99%)
CMYKcmyk(44%, 65.5%, 0%, 1.2%)
CIE-LABlab(51.27, 57.71, -74.55)
CIE-LCHlch(51.27, 94.28, 307.74°)
OKLaboklab(60.51% 0.0916 -0.2132)
OKLCHoklch(60.51% 0.232 293.2)
XYZxyz(31.9586, 19.5064, 94.1579)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57FC #C6FC57
analogous
#5774FC #8D57FC #DF57FC
triadic
#8D57FC #FC8D57 #57FC8D
tetradic
#8D57FC #FC5774 #C6FC57 #57FCDF
square
#8D57FC #FC5774 #C6FC57 #57FCDF
split-complementary
#8D57FC #FCDF57 #74FC57
monochromatic
#4804D5 #641BFB #8D57FC #B693FD #DFCFFE

Accessibility & contrast

On white

4.28
#8D57FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8D57FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57FC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57FC#FFFFFF#000000##000000
##8D57FC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#6D7FA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d57fc;
/* rgb */ color: rgb(141, 87, 252);
/* oklch */ color: oklch(60.5% 0.232 293.2);
Tailwind
colors: {
  custom: {
    50: '#b68afe',
    500: '#8d57fc',
    950: '#000000',
  },
}
SCSS
$custom: #8d57fc;
$custom-light: #b68afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57fc",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 259.636,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.23207,
    "h": 293.2
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#8D57FC
secondary
#E1F2BD
accent
#E6009A
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D57FC

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

Preview Lab → · Contrast checker → · Palette generator →

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