#8F51D0#8F51D0

#8F51D0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.190 H 303.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F51D0
RGBrgb(143, 81, 208)
HSLhsl(269, 57%, 57%)
HSVhsv(269, 61%, 82%)
CMYKcmyk(31.3%, 61.1%, 0%, 18.4%)
CIE-LABlab(47.34, 50.12, -56.08)
CIE-LCHlch(47.34, 75.21, 311.79°)
OKLaboklab(56.76% 0.1045 -0.1588)
OKLCHoklch(56.76% 0.19 303.3)
XYZxyz(25.6527, 16.2786, 61.4529)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F51D0 #92D051
analogous
#5153D0 #8F51D0 #CE51D0
triadic
#8F51D0 #D08F51 #51D08F
tetradic
#8F51D0 #D05153 #92D051 #51D0CE
square
#8F51D0 #D05153 #92D051 #51D0CE
split-complementary
#8F51D0 #D0CE51 #53D051
monochromatic
#522383 #7030B3 #8F51D0 #AE81DD #CDB1EA

Accessibility & contrast

On white

4.93
#8F51D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F51D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F51D0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F51D0#FFFFFF#000000##FFFFFF
##8F51D01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#2F70CD
Tritanopia (blue-blind)
#836B89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f51d0;
/* rgb */ color: rgb(143, 81, 208);
/* oklch */ color: oklch(56.8% 0.190 303.3);
Tailwind
colors: {
  custom: {
    50: '#b485df',
    500: '#8f51d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f51d0;
$custom-light: #b485df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f51d0",
  "rgb": {
    "r": 143,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 269.291,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.19015,
    "h": 303.3
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#8F51D0
secondary
#BFD8A4
accent
#E14796
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F51D0

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

Preview Lab → · Contrast checker → · Palette generator →

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