#8B68D5#8B68D5

#8B68D5 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.2% C 0.162 H 296.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8B68D5
RGBrgb(139, 104, 213)
HSLhsl(259, 56%, 62%)
HSVhsv(259, 51%, 84%)
CMYKcmyk(34.7%, 51.2%, 0%, 16.5%)
CIE-LABlab(52.05, 37.78, -51.39)
CIE-LCHlch(52.05, 63.79, 306.32°)
OKLaboklab(60.22% 0.0709 -0.1452)
OKLCHoklch(60.22% 0.162 296)
XYZxyz(27.6050, 20.1932, 65.3812)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68D5 #B2D568
analogous
#687CD5 #8B68D5 #C268D5
triadic
#8B68D5 #D58B68 #68D58B
tetradic
#8B68D5 #D5687C #B2D568 #68D5C2
square
#8B68D5 #D5687C #B2D568 #68D5C2
split-complementary
#8B68D5 #D5C268 #7CD568
monochromatic
#4E2A98 #6638C8 #8B68D5 #B098E2 #D5C8F0

Accessibility & contrast

On white

4.17
#8B68D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8B68D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68D5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68D5#FFFFFF#000000##000000
##8B68D51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#7A7D95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b68d5;
/* rgb */ color: rgb(139, 104, 213);
/* oklch */ color: oklch(60.2% 0.162 296.0);
Tailwind
colors: {
  custom: {
    50: '#b094e2',
    500: '#8b68d5',
    950: '#000000',
  },
}
SCSS
$custom: #8b68d5;
$custom-light: #b094e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68d5",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 259.266,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.16161,
    "h": 296
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#8B68D5
secondary
#D4E0B8
accent
#C42190
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8B68D5

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

Preview Lab → · Contrast checker → · Palette generator →

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