#8662EA#8662EA

#8662EA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.196 H 291.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8662EA
RGBrgb(134, 98, 234)
HSLhsl(256, 76%, 65%)
HSVhsv(256, 58%, 92%)
CMYKcmyk(42.7%, 58.1%, 0%, 8.2%)
CIE-LABlab(51.55, 45.64, -64.09)
CIE-LCHlch(51.55, 78.68, 305.46°)
OKLaboklab(60.15% 0.0723 -0.1827)
OKLCHoklch(60.15% 0.196 291.6)
XYZxyz(29.0464, 19.7433, 80.1064)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8662EA #C6EA62
analogous
#6282EA #8662EA #CA62EA
triadic
#8662EA #EA8662 #62EA86
tetradic
#8662EA #EA6282 #C6EA62 #62EACA
square
#8662EA #EA6282 #C6EA62 #62EACA
split-complementary
#8662EA #EACA62 #82EA62
monochromatic
#4319B9 #5C2CE3 #8662EA #B098F1 #D9CEF8

Accessibility & contrast

On white

4.24
#8662EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8662EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8662EA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8662EA#FFFFFF#000000##000000
##8662EA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#1078E7
Tritanopia (blue-blind)
#6A809D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8662ea;
/* rgb */ color: rgb(134, 98, 234);
/* oklch */ color: oklch(60.1% 0.196 291.6);
Tailwind
colors: {
  custom: {
    50: '#af90f1',
    500: '#8662ea',
    950: '#000000',
  },
}
SCSS
$custom: #8662ea;
$custom-light: #af90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8662ea",
  "rgb": {
    "r": 134,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 255.882,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.19647,
    "h": 291.6
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#8662EA
secondary
#DFEBBD
accent
#D90DA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8662EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8662EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva