#8B68DC#8B68DC

#8B68DC is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.7% C 0.171 H 294.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8B68DC
RGBrgb(139, 104, 220)
HSLhsl(258, 62%, 64%)
HSVhsv(258, 53%, 86%)
CMYKcmyk(36.8%, 52.7%, 0%, 13.7%)
CIE-LABlab(52.46, 39.62, -54.71)
CIE-LCHlch(52.46, 67.55, 305.91°)
OKLaboklab(60.66% 0.0713 -0.155)
OKLCHoklch(60.66% 0.171 294.7)
XYZxyz(28.5127, 20.5563, 70.1618)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68DC #B9DC68
analogous
#687FDC #8B68DC #C568DC
triadic
#8B68DC #DC8B68 #68DC8B
tetradic
#8B68DC #DC687F #B9DC68 #68DCC5
square
#8B68DC #DC687F #B9DC68 #68DCC5
split-complementary
#8B68DC #DCC568 #7FDC68
monochromatic
#4C26A4 #6536D0 #8B68DC #B19AE8 #D7CBF3

Accessibility & contrast

On white

4.11
#8B68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8B68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68DC#FFFFFF#000000##000000
##8B68DC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#778098
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b68dc;
/* rgb */ color: rgb(139, 104, 220);
/* oklch */ color: oklch(60.7% 0.171 294.7);
Tailwind
colors: {
  custom: {
    50: '#b194e7',
    500: '#8b68dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b68dc;
$custom-light: #b194e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68dc",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 258.103,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.17059,
    "h": 294.7
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#8B68DC
secondary
#D8E4BB
accent
#CA1B95
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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