#8B68EA#8B68EA

#8B68EA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.188 H 292.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8B68EA
RGBrgb(139, 104, 234)
HSLhsl(256, 76%, 66%)
HSVhsv(256, 56%, 92%)
CMYKcmyk(40.6%, 55.6%, 0%, 8.2%)
CIE-LABlab(53.31, 43.37, -61.23)
CIE-LCHlch(53.31, 75.03, 305.31°)
OKLaboklab(61.56% 0.0717 -0.1741)
OKLCHoklch(61.56% 0.188 292.4)
XYZxyz(30.4450, 21.3293, 80.3388)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68EA #C7EA68
analogous
#6886EA #8B68EA #CC68EA
triadic
#8B68EA #EA8B68 #68EA8B
tetradic
#8B68EA #EA6886 #C7EA68 #68EACC
square
#8B68EA #EA6886 #C7EA68 #68EACC
split-complementary
#8B68EA #EACC68 #86EA68
monochromatic
#461ABD #6232E3 #8B68EA #B49EF1 #DED3F9

Accessibility & contrast

On white

3.99
#8B68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8B68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68EA#FFFFFF#000000##000000
##8B68EA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#71849F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b68ea;
/* rgb */ color: rgb(139, 104, 234);
/* oklch */ color: oklch(61.6% 0.188 292.4);
Tailwind
colors: {
  custom: {
    50: '#b294f1',
    500: '#8b68ea',
    950: '#000000',
  },
}
SCSS
$custom: #8b68ea;
$custom-light: #b294f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68ea",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 256.154,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.18831,
    "h": 292.4
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#8B68EA
secondary
#E1ECC2
accent
#D80EA1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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