#8668EB#8668EB

#8668EB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.190 H 290.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8668EB
RGBrgb(134, 104, 235)
HSLhsl(254, 77%, 66%)
HSVhsv(254, 56%, 92%)
CMYKcmyk(43%, 55.7%, 0%, 7.8%)
CIE-LABlab(52.91, 42.54, -62.45)
CIE-LCHlch(52.91, 75.56, 304.26°)
OKLaboklab(61.18% 0.0655 -0.1778)
OKLCHoklch(61.18% 0.19 290.2)
XYZxyz(29.7730, 20.9661, 81.0593)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8668EB #CDEB68
analogous
#688CEB #8668EB #C768EB
triadic
#8668EB #EB8668 #68EB86
tetradic
#8668EB #EB688C #CDEB68 #68EBC7
square
#8668EB #EB688C #CDEB68 #68EBC7
split-complementary
#8668EB #EBC768 #8CEB68
monochromatic
#3F19BF #5B32E4 #8668EB #B19EF2 #DDD4F9

Accessibility & contrast

On white

4.04
#8668EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8668EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8668EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8668EB#FFFFFF#000000##000000
##8668EB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#6985A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8668eb;
/* rgb */ color: rgb(134, 104, 235);
/* oklch */ color: oklch(61.2% 0.190 290.2);
Tailwind
colors: {
  custom: {
    50: '#af94f2',
    500: '#8668eb',
    950: '#000000',
  },
}
SCSS
$custom: #8668eb;
$custom-light: #af94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8668eb",
  "rgb": {
    "r": 134,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 253.74,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.18951,
    "h": 290.2
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#8668EB
secondary
#E3EDC2
accent
#D90DAA
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8668EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8668EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva