#8F5BED#8F5BED

#8F5BED is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.210 H 295.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F5BED
RGBrgb(143, 91, 237)
HSLhsl(261, 80%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(39.7%, 61.6%, 0%, 7.1%)
CIE-LABlab(51.19, 52.13, -66.30)
CIE-LCHlch(51.19, 84.34, 308.18°)
OKLaboklab(60.16% 0.0915 -0.1889)
OKLCHoklch(60.16% 0.21 295.8)
XYZxyz(30.3508, 19.4356, 82.2567)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BED #B9ED5B
analogous
#5B70ED #8F5BED #D85BED
triadic
#8F5BED #ED8F5B #5BED8F
tetradic
#8F5BED #ED5B70 #B9ED5B #5BEDD8
square
#8F5BED #ED5B70 #B9ED5B #5BEDD8
split-complementary
#8F5BED #EDD85B #70ED5B
monochromatic
#4F14B9 #6924E7 #8F5BED #B592F3 #DAC9F9

Accessibility & contrast

On white

4.30
#8F5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8F5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BED
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BED#FFFFFF#000000##000000
##8F5BED1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#777C9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5bed;
/* rgb */ color: rgb(143, 91, 237);
/* oklch */ color: oklch(60.2% 0.210 295.8);
Tailwind
colors: {
  custom: {
    50: '#b68cf4',
    500: '#8f5bed',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bed;
$custom-light: #b68cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bed",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 261.37,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.20992,
    "h": 295.8
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#8F5BED
secondary
#D9EBB9
accent
#DD0991
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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