#8B68E8#8B68E8

#8B68E8 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.186 H 292.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B68E8
RGBrgb(139, 104, 232)
HSLhsl(256, 74%, 66%)
HSVhsv(256, 55%, 91%)
CMYKcmyk(40.1%, 55.2%, 0%, 9%)
CIE-LABlab(53.18, 42.83, -60.31)
CIE-LCHlch(53.18, 73.97, 305.38°)
OKLaboklab(61.43% 0.0717 -0.1714)
OKLCHoklch(61.43% 0.186 292.7)
XYZxyz(30.1593, 21.2150, 78.8342)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68E8 #C5E868
analogous
#6885E8 #8B68E8 #CB68E8
triadic
#8B68E8 #E88B68 #68E88B
tetradic
#8B68E8 #E86885 #C5E868 #68E8CB
square
#8B68E8 #E86885 #C5E868 #68E8CB
split-complementary
#8B68E8 #E8CB68 #85E868
monochromatic
#471CB9 #6233E0 #8B68E8 #B49DF0 #DDD2F8

Accessibility & contrast

On white

4.01
#8B68E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8B68E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68E8#FFFFFF#000000##000000
##8B68E81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#307DE5
Tritanopia (blue-blind)
#72839E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b68e8;
/* rgb */ color: rgb(139, 104, 232);
/* oklch */ color: oklch(61.4% 0.186 292.7);
Tailwind
colors: {
  custom: {
    50: '#b294f0',
    500: '#8b68e8',
    950: '#000000',
  },
}
SCSS
$custom: #8b68e8;
$custom-light: #b294f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68e8",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 256.406,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.1858,
    "h": 292.7
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#8B68E8
secondary
#DFEBC1
accent
#D610A0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B68E8

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

Preview Lab → · Contrast checker → · Palette generator →

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