#8F58CB#8F58CB

#8F58CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.174 H 303.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F58CB
RGBrgb(143, 88, 203)
HSLhsl(269, 53%, 57%)
HSVhsv(269, 57%, 80%)
CMYKcmyk(29.6%, 56.7%, 0%, 20.4%)
CIE-LABlab(48.42, 45.19, -51.46)
CIE-LCHlch(48.42, 68.49, 311.28°)
OKLaboklab(57.45% 0.096 -0.1453)
OKLCHoklch(57.45% 0.174 303.4)
XYZxyz(25.5945, 17.1309, 58.4466)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58CB #94CB58
analogous
#585BCB #8F58CB #C958CB
triadic
#8F58CB #CB8F58 #58CB8F
tetradic
#8F58CB #CB585B #94CB58 #58CBC9
square
#8F58CB #CB585B #94CB58 #58CBC9
split-complementary
#8F58CB #CBC958 #5BCB58
monochromatic
#522881 #7037AF #8F58CB #AE87DA #CEB5E8

Accessibility & contrast

On white

4.74
#8F58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8F58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58CB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58CB#FFFFFF#000000##FFFFFF
##8F58CB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#846F89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f58cb;
/* rgb */ color: rgb(143, 88, 203);
/* oklch */ color: oklch(57.5% 0.174 303.4);
Tailwind
colors: {
  custom: {
    50: '#b389db',
    500: '#8f58cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f58cb;
$custom-light: #b389db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58cb",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 268.696,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.17415,
    "h": 303.4
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#8F58CB
secondary
#C0D7A8
accent
#DC4C97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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