#8F5FDB#8F5FDB

#8F5FDB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.183 H 298.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F5FDB
RGBrgb(143, 95, 219)
HSLhsl(263, 63%, 62%)
HSVhsv(263, 57%, 86%)
CMYKcmyk(34.7%, 56.6%, 0%, 14.1%)
CIE-LABlab(50.85, 45.35, -56.71)
CIE-LCHlch(50.85, 72.61, 308.65°)
OKLaboklab(59.54% 0.0874 -0.1607)
OKLCHoklch(59.54% 0.183 298.5)
XYZxyz(28.2029, 19.1382, 69.2123)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FDB #ABDB5F
analogous
#5F6DDB #8F5FDB #CD5FDB
triadic
#8F5FDB #DB8F5F #5FDB8F
tetradic
#8F5FDB #DB5F6D #ABDB5F #5FDBCD
square
#8F5FDB #DB5F6D #ABDB5F #5FDBCD
split-complementary
#8F5FDB #DBCD5F #6DDB5F
monochromatic
#52239C #6C2ECE #8F5FDB #B291E6 #D5C3F1

Accessibility & contrast

On white

4.35
#8F5FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8F5FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FDB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FDB#FFFFFF#000000##000000
##8F5FDB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#7E7994
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5fdb;
/* rgb */ color: rgb(143, 95, 219);
/* oklch */ color: oklch(59.5% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#b48ee7',
    500: '#8f5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fdb;
$custom-light: #b48ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fdb",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 263.226,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.18297,
    "h": 298.5
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#8F5FDB
secondary
#D0E2B4
accent
#CB1A87
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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