#8B68E2#8B68E2

#8B68E2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.178 H 293.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8B68E2
RGBrgb(139, 104, 226)
HSLhsl(257, 68%, 65%)
HSVhsv(257, 54%, 89%)
CMYKcmyk(38.5%, 54%, 0%, 11.4%)
CIE-LABlab(52.82, 41.22, -57.52)
CIE-LCHlch(52.82, 70.77, 305.62°)
OKLaboklab(61.04% 0.0715 -0.1632)
OKLCHoklch(61.04% 0.178 293.7)
XYZxyz(29.3216, 20.8799, 74.4221)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68E2 #BFE268
analogous
#6882E2 #8B68E2 #C868E2
triadic
#8B68E2 #E28B68 #68E28B
tetradic
#8B68E2 #E26882 #BFE268 #68E2C8
square
#8B68E2 #E26882 #BFE268 #68E2C8
split-complementary
#8B68E2 #E2C868 #82E268
monochromatic
#4A21AE #6435D8 #8B68E2 #B29BEC #DACFF6

Accessibility & contrast

On white

4.06
#8B68E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8B68E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68E2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68E2#FFFFFF#000000##000000
##8B68E21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#75819B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b68e2;
/* rgb */ color: rgb(139, 104, 226);
/* oklch */ color: oklch(61.0% 0.178 293.7);
Tailwind
colors: {
  custom: {
    50: '#b194ec',
    500: '#8b68e2',
    950: '#000000',
  },
}
SCSS
$custom: #8b68e2;
$custom-light: #b194ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68e2",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 257.213,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.17822,
    "h": 293.7
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#8B68E2
secondary
#DCE8BE
accent
#D0169A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B68E2

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

Preview Lab → · Contrast checker → · Palette generator →

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