#8662CE#8662CE

#8662CE is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.161 H 296.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8662CE
RGBrgb(134, 98, 206)
HSLhsl(260, 52%, 60%)
HSVhsv(260, 52%, 81%)
CMYKcmyk(35%, 52.4%, 0%, 19.2%)
CIE-LABlab(49.81, 38.13, -51.02)
CIE-LCHlch(49.81, 63.70, 306.77°)
OKLaboklab(58.31% 0.0718 -0.1443)
OKLCHoklch(58.31% 0.161 296.4)
XYZxyz(25.3370, 18.2595, 60.5701)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8662CE #AACE62
analogous
#6274CE #8662CE #BC62CE
triadic
#8662CE #CE8662 #62CE86
tetradic
#8662CE #CE6274 #AACE62 #62CEBC
square
#8662CE #CE6274 #AACE62 #62CEBC
split-complementary
#8662CE #CEBC62 #74CE62
monochromatic
#4B2B8A #643AB9 #8662CE #AA91DD #CEBFEB

Accessibility & contrast

On white

4.51
#8662CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8662CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8662CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8662CE#FFFFFF#000000##000000
##8662CE1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#76778F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8662ce;
/* rgb */ color: rgb(134, 98, 206);
/* oklch */ color: oklch(58.3% 0.161 296.4);
Tailwind
colors: {
  custom: {
    50: '#ad8fdd',
    500: '#8662ce',
    950: '#000000',
  },
}
SCSS
$custom: #8662ce;
$custom-light: #ad8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8662ce",
  "rgb": {
    "r": 134,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 260,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.16116,
    "h": 296.4
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

primary
#8662CE
secondary
#CDDBB1
accent
#DC4CAC
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8662CE

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

Preview Lab → · Contrast checker → · Palette generator →

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