#8B68EB#8B68EB

#8B68EB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.190 H 292.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8B68EB
RGBrgb(139, 104, 235)
HSLhsl(256, 77%, 66%)
HSVhsv(256, 56%, 92%)
CMYKcmyk(40.9%, 55.7%, 0%, 7.8%)
CIE-LABlab(53.37, 43.64, -61.69)
CIE-LCHlch(53.37, 75.56, 305.27°)
OKLaboklab(61.62% 0.0717 -0.1755)
OKLCHoklch(61.62% 0.19 292.2)
XYZxyz(30.5891, 21.3869, 81.0976)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68EB #C8EB68
analogous
#6887EB #8B68EB #CD68EB
triadic
#8B68EB #EB8B68 #68EB8B
tetradic
#8B68EB #EB6887 #C8EB68 #68EBCD
square
#8B68EB #EB6887 #C8EB68 #68EBCD
split-complementary
#8B68EB #EBCD68 #87EB68
monochromatic
#4619BF #6132E4 #8B68EB #B59EF2 #DED4F9

Accessibility & contrast

On white

3.98
#8B68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8B68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68EB#FFFFFF#000000##000000
##8B68EB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#7184A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b68eb;
/* rgb */ color: rgb(139, 104, 235);
/* oklch */ color: oklch(61.6% 0.190 292.2);
Tailwind
colors: {
  custom: {
    50: '#b294f2',
    500: '#8b68eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b68eb;
$custom-light: #b294f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68eb",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 256.031,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.18957,
    "h": 292.2
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#8B68EB
secondary
#E1EDC2
accent
#D90DA2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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