#8662DB#8662DB

#8662DB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.178 H 294.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8662DB
RGBrgb(134, 98, 219)
HSLhsl(258, 63%, 62%)
HSVhsv(258, 55%, 86%)
CMYKcmyk(38.8%, 55.3%, 0%, 14.1%)
CIE-LABlab(50.59, 41.58, -57.17)
CIE-LCHlch(50.59, 70.69, 306.03°)
OKLaboklab(59.14% 0.0723 -0.1623)
OKLCHoklch(59.14% 0.178 294)
XYZxyz(26.9820, 18.9176, 69.2340)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8662DB #B7DB62
analogous
#627BDB #8662DB #C262DB
triadic
#8662DB #DB8662 #62DB86
tetradic
#8662DB #DB627B #B7DB62 #62DBC2
square
#8662DB #DB627B #B7DB62 #62DBC2
split-complementary
#8662DB #DBC262 #7BDB62
monochromatic
#49249E #6030D0 #8662DB #AC94E6 #D3C6F2

Accessibility & contrast

On white

4.39
#8662DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8662DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8662DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8662DB#FFFFFF#000000##000000
##8662DB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#707B95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8662db;
/* rgb */ color: rgb(134, 98, 219);
/* oklch */ color: oklch(59.1% 0.178 294.0);
Tailwind
colors: {
  custom: {
    50: '#ae90e7',
    500: '#8662db',
    950: '#000000',
  },
}
SCSS
$custom: #8662db;
$custom-light: #ae90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8662db",
  "rgb": {
    "r": 134,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 257.851,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.17772,
    "h": 294
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#8662DB
secondary
#D5E3B6
accent
#CA1B96
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8662DB

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

Preview Lab → · Contrast checker → · Palette generator →

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