#8B68CC#8B68CC

#8B68CC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.7% C 0.150 H 297.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B68CC
RGBrgb(139, 104, 204)
HSLhsl(261, 50%, 60%)
HSVhsv(261, 49%, 80%)
CMYKcmyk(31.9%, 49%, 0%, 20%)
CIE-LABlab(51.55, 35.45, -47.07)
CIE-LCHlch(51.55, 58.92, 306.98°)
OKLaboklab(59.69% 0.0701 -0.1326)
OKLCHoklch(59.69% 0.15 297.9)
XYZxyz(26.4942, 19.7489, 59.5311)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68CC #A9CC68
analogous
#6877CC #8B68CC #BD68CC
triadic
#8B68CC #CC8B68 #68CC8B
tetradic
#8B68CC #CC6877 #A9CC68 #68CCBD
square
#8B68CC #CC6877 #A9CC68 #68CCBD
split-complementary
#8B68CC #CCBD68 #77CC68
monochromatic
#4F2F8B #693EB8 #8B68CC #AE96DB #D1C3EB

Accessibility & contrast

On white

4.24
#8B68CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B68CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68CC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68CC#FFFFFF#000000##000000
##8B68CC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#7D7B90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b68cc;
/* rgb */ color: rgb(139, 104, 204);
/* oklch */ color: oklch(59.7% 0.150 297.9);
Tailwind
colors: {
  custom: {
    50: '#b094dc',
    500: '#8b68cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b68cc;
$custom-light: #b094dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68cc",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 261,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59687,
    "c": 0.14997,
    "h": 297.9
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#8B68CC
secondary
#CEDBB5
accent
#BD2989
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8B68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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