#8B68D2#8B68D2

#8B68D2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.0% C 0.158 H 296.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B68D2
RGBrgb(139, 104, 210)
HSLhsl(260, 54%, 62%)
HSVhsv(260, 50%, 82%)
CMYKcmyk(33.8%, 50.5%, 0%, 17.6%)
CIE-LABlab(51.88, 37.00, -49.96)
CIE-LCHlch(51.88, 62.17, 306.52°)
OKLaboklab(60.04% 0.0706 -0.141)
OKLCHoklch(60.04% 0.158 296.6)
XYZxyz(27.2277, 20.0423, 63.3943)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68D2 #AFD268
analogous
#687AD2 #8B68D2 #C068D2
triadic
#8B68D2 #D28B68 #68D28B
tetradic
#8B68D2 #D2687A #AFD268 #68D2C0
square
#8B68D2 #D2687A #AFD268 #68D2C0
split-complementary
#8B68D2 #D2C068 #7AD268
monochromatic
#4E2C94 #673AC3 #8B68D2 #AF97E0 #D3C6EE

Accessibility & contrast

On white

4.19
#8B68D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8B68D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68D2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68D2#FFFFFF#000000##000000
##8B68D21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#7B7D93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b68d2;
/* rgb */ color: rgb(139, 104, 210);
/* oklch */ color: oklch(60.0% 0.158 296.6);
Tailwind
colors: {
  custom: {
    50: '#b094e0',
    500: '#8b68d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b68d2;
$custom-light: #b094e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68d2",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 210
  },
  "hsl": {
    "h": 259.811,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.15774,
    "h": 296.6
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#8B68D2
secondary
#D2DFB7
accent
#C2248E
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8B68D2

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

Preview Lab → · Contrast checker → · Palette generator →

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