#8F5BCA#8F5BCA

#8F5BCA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.168 H 303.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8F5BCA
RGBrgb(143, 91, 202)
HSLhsl(268, 51%, 57%)
HSVhsv(268, 55%, 79%)
CMYKcmyk(29.2%, 55%, 0%, 20.8%)
CIE-LABlab(48.99, 43.31, -49.99)
CIE-LCHlch(48.99, 66.14, 310.90°)
OKLaboklab(57.85% 0.0921 -0.141)
OKLCHoklch(57.85% 0.168 303.1)
XYZxyz(25.7271, 17.5861, 57.9048)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BCA #96CA5B
analogous
#5B5FCA #8F5BCA #C65BCA
triadic
#8F5BCA #CA8F5B #5BCA8F
tetradic
#8F5BCA #CA5B5F #96CA5B #5BCAC6
square
#8F5BCA #CA5B5F #96CA5B #5BCAC6
split-complementary
#8F5BCA #CAC65B #5FCA5B
monochromatic
#532A81 #7039AF #8F5BCA #AF89D9 #CEB8E8

Accessibility & contrast

On white

4.65
#8F5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8F5BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5BCA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BCA#FFFFFF#000000##FFFFFF
##8F5BCA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#84708A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5bca;
/* rgb */ color: rgb(143, 91, 202);
/* oklch */ color: oklch(57.8% 0.168 303.1);
Tailwind
colors: {
  custom: {
    50: '#b38bdb',
    500: '#8f5bca',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bca;
$custom-light: #b38bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bca",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 268.108,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.1684,
    "h": 303.1
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#8F5BCA
secondary
#C2D7AA
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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