#8F5BD2#8F5BD2

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

Color values

HEX#8F5BD2
RGBrgb(143, 91, 210)
HSLhsl(266, 57%, 59%)
HSVhsv(266, 57%, 82%)
CMYKcmyk(31.9%, 56.7%, 0%, 17.6%)
CIE-LABlab(49.47, 45.28, -53.81)
CIE-LCHlch(49.47, 70.32, 310.08°)
OKLaboklab(58.35% 0.0923 -0.1522)
OKLCHoklch(58.35% 0.178 301.2)
XYZxyz(26.6989, 17.9748, 63.0232)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BD2 #9ED25B
analogous
#5B63D2 #8F5BD2 #CA5BD2
triadic
#8F5BD2 #D28F5B #5BD28F
tetradic
#8F5BD2 #D25B63 #9ED25B #5BD2CA
square
#8F5BD2 #D25B63 #9ED25B #5BD2CA
split-complementary
#8F5BD2 #D2CA5B #63D25B
monochromatic
#53268C #6F34BC #8F5BD2 #B08BDF #D1BBEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5BD2#FFFFFF#000000##000000
##8F5BD21.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)
#2775D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#82738E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5bd2;
/* rgb */ color: rgb(143, 91, 210);
/* oklch */ color: oklch(58.3% 0.178 301.2);
Tailwind
colors: {
  custom: {
    50: '#b38be0',
    500: '#8f5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bd2;
$custom-light: #b38be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bd2",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 266.218,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.178,
    "h": 301.2
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#8F5BD2
secondary
#C7DCAD
accent
#E0489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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