#8642CD#8642CD

#8642CD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.205 H 302.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8642CD
RGBrgb(134, 66, 205)
HSLhsl(269, 58%, 53%)
HSVhsv(269, 68%, 80%)
CMYKcmyk(34.6%, 67.8%, 0%, 19.6%)
CIE-LABlab(43.32, 54.97, -60.89)
CIE-LCHlch(43.32, 82.04, 312.07°)
OKLaboklab(53.56% 0.1097 -0.1732)
OKLCHoklch(53.56% 0.205 302.3)
XYZxyz(22.7966, 13.3725, 59.1259)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642CD #89CD42
analogous
#4243CD #8642CD #CC42CD
triadic
#8642CD #CD8642 #42CD86
tetradic
#8642CD #CD4243 #89CD42 #42CDCC
square
#8642CD #CD4243 #89CD42 #42CDCC
split-complementary
#8642CD #CDCC42 #43CD42
monochromatic
#491F76 #682CA6 #8642CD #A572DA #C4A3E7

Accessibility & contrast

On white

5.71
#8642CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8642CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642CD#FFFFFF#000000##FFFFFF
##8642CD1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#776282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8642cd;
/* rgb */ color: rgb(134, 66, 205);
/* oklch */ color: oklch(53.6% 0.205 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae7bdd',
    500: '#8642cd',
    950: '#000000',
  },
}
SCSS
$custom: #8642cd;
$custom-light: #ae7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8642cd",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 269.353,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.20504,
    "h": 302.3
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#8642CD
secondary
#B6D397
accent
#E14696
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8642CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva