#8B68DD#8B68DD

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

Color values

HEX#8B68DD
RGBrgb(139, 104, 221)
HSLhsl(258, 63%, 64%)
HSVhsv(258, 53%, 87%)
CMYKcmyk(37.1%, 52.9%, 0%, 13.3%)
CIE-LABlab(52.52, 39.89, -55.18)
CIE-LCHlch(52.52, 68.09, 305.86°)
OKLaboklab(60.72% 0.0713 -0.1564)
OKLCHoklch(60.72% 0.172 294.5)
XYZxyz(28.6455, 20.6095, 70.8614)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68DD #BADD68
analogous
#687FDD #8B68DD #C568DD
triadic
#8B68DD #DD8B68 #68DD8B
tetradic
#8B68DD #DD687F #BADD68 #68DDC5
square
#8B68DD #DD687F #BADD68 #68DDC5
split-complementary
#8B68DD #DDC568 #7FDD68
monochromatic
#4C25A5 #6536D2 #8B68DD #B19AE8 #D8CCF3

Accessibility & contrast

On white

4.10
#8B68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8B68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68DD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68DD#FFFFFF#000000##000000
##8B68DD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#778099
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b68dd;
/* rgb */ color: rgb(139, 104, 221);
/* oklch */ color: oklch(60.7% 0.172 294.5);
Tailwind
colors: {
  custom: {
    50: '#b194e8',
    500: '#8b68dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b68dd;
$custom-light: #b194e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68dd",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 257.949,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.17187,
    "h": 294.5
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#8B68DD
secondary
#D9E5BC
accent
#CB1A96
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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