#8B68EC#8B68EC

#8B68EC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.191 H 292.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8B68EC
RGBrgb(139, 104, 236)
HSLhsl(256, 78%, 67%)
HSVhsv(256, 56%, 93%)
CMYKcmyk(41.1%, 55.9%, 0%, 7.5%)
CIE-LABlab(53.43, 43.91, -62.15)
CIE-LCHlch(53.43, 76.09, 305.24°)
OKLaboklab(61.69% 0.0717 -0.1768)
OKLCHoklch(61.69% 0.191 292.1)
XYZxyz(30.7340, 21.4448, 81.8606)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68EC #C9EC68
analogous
#6887EC #8B68EC #CD68EC
triadic
#8B68EC #EC8B68 #68EC8B
tetradic
#8B68EC #EC6887 #C9EC68 #68ECCD
square
#8B68EC #EC6887 #C9EC68 #68ECCD
split-complementary
#8B68EC #ECCD68 #87EC68
monochromatic
#4518C1 #6132E5 #8B68EC #B59EF3 #DFD5FA

Accessibility & contrast

On white

3.97
#8B68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8B68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68EC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68EC#FFFFFF#000000##000000
##8B68EC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#7084A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b68ec;
/* rgb */ color: rgb(139, 104, 236);
/* oklch */ color: oklch(61.7% 0.191 292.1);
Tailwind
colors: {
  custom: {
    50: '#b294f3',
    500: '#8b68ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b68ec;
$custom-light: #b294f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68ec",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 255.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.19082,
    "h": 292.1
  },
  "luminance": 0.21446
}

Semantic roles & 50–950 ramp

primary
#8B68EC
secondary
#E2EDC3
accent
#DA0CA3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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