#8F5BDB#8F5BDB

#8F5BDB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.189 H 299.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8F5BDB
RGBrgb(143, 91, 219)
HSLhsl(264, 64%, 61%)
HSVhsv(264, 58%, 86%)
CMYKcmyk(34.7%, 58.4%, 0%, 14.1%)
CIE-LABlab(50.02, 47.53, -58.04)
CIE-LCHlch(50.02, 75.02, 309.32°)
OKLaboklab(58.93% 0.0923 -0.1646)
OKLCHoklch(58.93% 0.189 299.3)
XYZxyz(27.8518, 18.4360, 69.0952)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BDB #A7DB5B
analogous
#5B67DB #8F5BDB #CF5BDB
triadic
#8F5BDB #DB8F5B #5BDB8F
tetradic
#8F5BDB #DB5B67 #A7DB5B #5BDBCF
square
#8F5BDB #DB5B67 #A7DB5B #5BDBCF
split-complementary
#8F5BDB #DBCF5B #67DB5B
monochromatic
#53229A #6D2DCC #8F5BDB #B18DE6 #D4BFF1

Accessibility & contrast

On white

4.48
#8F5BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8F5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BDB#FFFFFF#000000##000000
##8F5BDB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#7E7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5bdb;
/* rgb */ color: rgb(143, 91, 219);
/* oklch */ color: oklch(58.9% 0.189 299.3);
Tailwind
colors: {
  custom: {
    50: '#b48be7',
    500: '#8f5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bdb;
$custom-light: #b48be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bdb",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 264.375,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.18872,
    "h": 299.3
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#8F5BDB
secondary
#CDE1B1
accent
#CC1A83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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