#8B68BB#8B68BB

#8B68BB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.7% C 0.128 H 302.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8B68BB
RGBrgb(139, 104, 187)
HSLhsl(265, 38%, 57%)
HSVhsv(265, 44%, 73%)
CMYKcmyk(25.7%, 44.4%, 0%, 26.7%)
CIE-LABlab(50.66, 31.16, -38.72)
CIE-LCHlch(50.66, 49.70, 308.83°)
OKLaboklab(58.73% 0.0678 -0.1082)
OKLCHoklch(58.73% 0.128 302.1)
XYZxyz(24.5654, 18.9774, 49.3729)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68BB #98BB68
analogous
#686FBB #8B68BB #B568BB
triadic
#8B68BB #BB8B68 #68BB8B
tetradic
#8B68BB #BB686F #98BB68 #68BBB5
square
#8B68BB #BB686F #98BB68 #68BBB5
split-complementary
#8B68BB #BBB568 #6FBB68
monochromatic
#4F3474 #6C479E #8B68BB #AB92CE #CCBCE1

Accessibility & contrast

On white

4.38
#8B68BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8B68BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68BB#FFFFFF#000000##000000
##8B68BB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#827688
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b68bb;
/* rgb */ color: rgb(139, 104, 187);
/* oklch */ color: oklch(58.7% 0.128 302.1);
Tailwind
colors: {
  custom: {
    50: '#af94d0',
    500: '#8b68bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b68bb;
$custom-light: #af94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68bb",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 265.301,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.12775,
    "h": 302.1
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#8B68BB
secondary
#C2D0AF
accent
#CE5A9D
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8B68BB

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

Preview Lab → · Contrast checker → · Palette generator →

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