#8662DC#8662DC

#8662DC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.179 H 293.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8662DC
RGBrgb(134, 98, 220)
HSLhsl(258, 64%, 62%)
HSVhsv(258, 55%, 86%)
CMYKcmyk(39.1%, 55.5%, 0%, 13.7%)
CIE-LABlab(50.65, 41.85, -57.64)
CIE-LCHlch(50.65, 71.23, 305.98°)
OKLaboklab(59.21% 0.0723 -0.1637)
OKLCHoklch(59.21% 0.179 293.8)
XYZxyz(27.1140, 18.9704, 69.9294)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8662DC #B8DC62
analogous
#627BDC #8662DC #C362DC
triadic
#8662DC #DC8662 #62DC86
tetradic
#8662DC #DC627B #B8DC62 #62DCC3
square
#8662DC #DC627B #B8DC62 #62DCC3
split-complementary
#8662DC #DCC362 #7BDC62
monochromatic
#4824A0 #5F30D1 #8662DC #AD94E7 #D3C6F2

Accessibility & contrast

On white

4.38
#8662DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8662DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8662DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8662DC#FFFFFF#000000##000000
##8662DC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#3077D9
Tritanopia (blue-blind)
#707C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8662dc;
/* rgb */ color: rgb(134, 98, 220);
/* oklch */ color: oklch(59.2% 0.179 293.8);
Tailwind
colors: {
  custom: {
    50: '#ae90e7',
    500: '#8662dc',
    950: '#000000',
  },
}
SCSS
$custom: #8662dc;
$custom-light: #ae90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8662dc",
  "rgb": {
    "r": 134,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 257.705,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.17898,
    "h": 293.8
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#8662DC
secondary
#D6E3B7
accent
#CB1A97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8662DC

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

Preview Lab → · Contrast checker → · Palette generator →

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