#8F57CB#8F57CB

#8F57CB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.176 H 303.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F57CB
RGBrgb(143, 87, 203)
HSLhsl(269, 53%, 57%)
HSVhsv(269, 57%, 80%)
CMYKcmyk(29.6%, 57.1%, 0%, 20.4%)
CIE-LABlab(48.22, 45.73, -51.79)
CIE-LCHlch(48.22, 69.09, 311.44°)
OKLaboklab(57.3% 0.0972 -0.1463)
OKLCHoklch(57.3% 0.176 303.6)
XYZxyz(25.5130, 16.9679, 58.4194)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57CB #93CB57
analogous
#5759CB #8F57CB #C957CB
triadic
#8F57CB #CB8F57 #57CB8F
tetradic
#8F57CB #CB5759 #93CB57 #57CBC9
square
#8F57CB #CB5759 #93CB57 #57CBC9
split-complementary
#8F57CB #CBC957 #59CB57
monochromatic
#522880 #7036AF #8F57CB #AE86D9 #CDB4E8

Accessibility & contrast

On white

4.78
#8F57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8F57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57CB#FFFFFF#000000##FFFFFF
##8F57CB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#846E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f57cb;
/* rgb */ color: rgb(143, 87, 203);
/* oklch */ color: oklch(57.3% 0.176 303.6);
Tailwind
colors: {
  custom: {
    50: '#b389db',
    500: '#8f57cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f57cb;
$custom-light: #b389db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57cb",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 268.966,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.17565,
    "h": 303.6
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#8F57CB
secondary
#C0D7A7
accent
#DC4C96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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