#8B68C2#8B68C2

#8B68C2 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.1% C 0.137 H 300.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B68C2
RGBrgb(139, 104, 194)
HSLhsl(263, 42%, 58%)
HSVhsv(263, 46%, 76%)
CMYKcmyk(28.4%, 46.4%, 0%, 23.9%)
CIE-LABlab(51.02, 32.90, -42.19)
CIE-LCHlch(51.02, 53.50, 307.95°)
OKLaboklab(59.11% 0.0689 -0.1183)
OKLCHoklch(59.11% 0.137 300.2)
XYZxyz(25.3331, 19.2845, 53.4161)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68C2 #9FC268
analogous
#6872C2 #8B68C2 #B868C2
triadic
#8B68C2 #C28B68 #68C28B
tetradic
#8B68C2 #C26872 #9FC268 #68C2B8
square
#8B68C2 #C26872 #9FC268 #68C2B8
split-complementary
#8B68C2 #C2B868 #72C268
monochromatic
#50337D #6B44A9 #8B68C2 #AC94D4 #CEBFE5

Accessibility & contrast

On white

4.32
#8B68C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8B68C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68C2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68C2#FFFFFF#000000##000000
##8B68C21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#80788C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b68c2;
/* rgb */ color: rgb(139, 104, 194);
/* oklch */ color: oklch(59.1% 0.137 300.2);
Tailwind
colors: {
  custom: {
    50: '#af94d5',
    500: '#8b68c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b68c2;
$custom-light: #af94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68c2",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 194
  },
  "hsl": {
    "h": 263.333,
    "s": 42.453,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.13693,
    "h": 300.2
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#8B68C2
secondary
#C7D5B1
accent
#D256A2
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8B68C2

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

Preview Lab → · Contrast checker → · Palette generator →

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