#8F5FDA#8F5FDA

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

Color values

HEX#8F5FDA
RGBrgb(143, 95, 218)
HSLhsl(263, 62%, 61%)
HSVhsv(263, 56%, 85%)
CMYKcmyk(34.4%, 56.4%, 0%, 14.5%)
CIE-LABlab(50.79, 45.10, -56.24)
CIE-LCHlch(50.79, 72.09, 308.73°)
OKLaboklab(59.48% 0.0874 -0.1593)
OKLCHoklch(59.48% 0.182 298.8)
XYZxyz(28.0717, 19.0857, 68.5210)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FDA #AADA5F
analogous
#5F6DDA #8F5FDA #CD5FDA
triadic
#8F5FDA #DA8F5F #5FDA8F
tetradic
#8F5FDA #DA5F6D #AADA5F #5FDACD
square
#8F5FDA #DA5F6D #AADA5F #5FDACD
split-complementary
#8F5FDA #DACD5F #6DDA5F
monochromatic
#52249B #6D2FCD #8F5FDA #B291E5 #D5C2F1

Accessibility & contrast

On white

4.36
#8F5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F5FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FDA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FDA#FFFFFF#000000##000000
##8F5FDA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#7F7893
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5fda;
/* rgb */ color: rgb(143, 95, 218);
/* oklch */ color: oklch(59.5% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#b48ee6',
    500: '#8f5fda',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fda;
$custom-light: #b48ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fda",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 263.415,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.18176,
    "h": 298.8
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#8F5FDA
secondary
#CFE1B3
accent
#CA1B86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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