#8D68DC#8D68DC

#8D68DC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.8% C 0.171 H 295.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D68DC
RGBrgb(141, 104, 220)
HSLhsl(259, 62%, 64%)
HSVhsv(259, 53%, 86%)
CMYKcmyk(35.9%, 52.7%, 0%, 13.7%)
CIE-LABlab(52.65, 40.11, -54.39)
CIE-LCHlch(52.65, 67.58, 306.40°)
OKLaboklab(60.85% 0.0738 -0.154)
OKLCHoklch(60.85% 0.171 295.6)
XYZxyz(28.8498, 20.7301, 70.1776)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D68DC #B7DC68
analogous
#687DDC #8D68DC #C768DC
triadic
#8D68DC #DC8D68 #68DC8D
tetradic
#8D68DC #DC687D #B7DC68 #68DCC7
square
#8D68DC #DC687D #B7DC68 #68DCC7
split-complementary
#8D68DC #DCC768 #7DDC68
monochromatic
#4E26A4 #6736D0 #8D68DC #B39AE8 #D8CBF3

Accessibility & contrast

On white

4.08
#8D68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8D68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D68DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D68DC#FFFFFF#000000##000000
##8D68DC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#7A7F98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d68dc;
/* rgb */ color: rgb(141, 104, 220);
/* oklch */ color: oklch(60.8% 0.171 295.6);
Tailwind
colors: {
  custom: {
    50: '#b294e7',
    500: '#8d68dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d68dc;
$custom-light: #b294e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d68dc",
  "rgb": {
    "r": 141,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 259.138,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.17076,
    "h": 295.6
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#8D68DC
secondary
#D7E4BB
accent
#CA1B92
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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