#8F5EDF#8F5EDF

#8F5EDF is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.189 H 297.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F5EDF
RGBrgb(143, 94, 223)
HSLhsl(263, 67%, 62%)
HSVhsv(263, 58%, 87%)
CMYKcmyk(35.9%, 57.8%, 0%, 12.5%)
CIE-LABlab(50.89, 46.92, -58.91)
CIE-LCHlch(50.89, 75.31, 308.54°)
OKLaboklab(59.65% 0.0886 -0.1672)
OKLCHoklch(59.65% 0.189 297.9)
XYZxyz(28.6463, 19.1724, 71.9891)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EDF #AEDF5E
analogous
#5E6EDF #8F5EDF #D05EDF
triadic
#8F5EDF #DF8F5E #5EDF8F
tetradic
#8F5EDF #DF5E6E #AEDF5E #5EDFD0
square
#8F5EDF #DF5E6E #AEDF5E #5EDFD0
split-complementary
#8F5EDF #DFD05E #6EDF5E
monochromatic
#5220A2 #6B2BD5 #8F5EDF #B391E9 #D6C4F3

Accessibility & contrast

On white

4.34
#8F5EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5EDF#FFFFFF#000000##000000
##8F5EDF1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1779E3
Deuteranopia (green-blind)
#3078DC
Tritanopia (blue-blind)
#7D7996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5edf;
/* rgb */ color: rgb(143, 94, 223);
/* oklch */ color: oklch(59.6% 0.189 297.9);
Tailwind
colors: {
  custom: {
    50: '#b48dea',
    500: '#8f5edf',
    950: '#000000',
  },
}
SCSS
$custom: #8f5edf;
$custom-light: #b48dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5edf",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 262.791,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.18923,
    "h": 297.9
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#8F5EDF
secondary
#D2E4B5
accent
#CF1789
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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