#8F5DCB#8F5DCB

#8F5DCB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.167 H 302.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F5DCB
RGBrgb(143, 93, 203)
HSLhsl(267, 51%, 58%)
HSVhsv(267, 54%, 80%)
CMYKcmyk(29.6%, 54.2%, 0%, 20.4%)
CIE-LABlab(49.47, 42.45, -49.79)
CIE-LCHlch(49.47, 65.43, 310.45°)
OKLaboklab(58.22% 0.0895 -0.1404)
OKLCHoklch(58.22% 0.167 302.5)
XYZxyz(26.0191, 17.9801, 58.5881)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DCB #99CB5D
analogous
#5D62CB #8F5DCB #C65DCB
triadic
#8F5DCB #CB8F5D #5DCB8F
tetradic
#8F5DCB #CB5D62 #99CB5D #5DCBC6
square
#8F5DCB #CB5D62 #99CB5D #5DCBC6
split-complementary
#8F5DCB #CBC65D #62CB5D
monochromatic
#532A83 #7039B2 #8F5DCB #AF8BDA #CFBAE9

Accessibility & contrast

On white

4.57
#8F5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8F5DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DCB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DCB#FFFFFF#000000##000000
##8F5DCB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#84728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5dcb;
/* rgb */ color: rgb(143, 93, 203);
/* oklch */ color: oklch(58.2% 0.167 302.5);
Tailwind
colors: {
  custom: {
    50: '#b38cdb',
    500: '#8f5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dcb;
$custom-light: #b38cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dcb",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 267.273,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.16654,
    "h": 302.5
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#8F5DCB
secondary
#C4D8AC
accent
#DB4D9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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