#8645CC#8645CC

#8645CC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.200 H 302.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8645CC
RGBrgb(134, 69, 204)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(34.3%, 66.2%, 0%, 20%)
CIE-LABlab(43.78, 53.27, -59.58)
CIE-LCHlch(43.78, 79.92, 311.80°)
OKLaboklab(53.86% 0.1066 -0.1694)
OKLCHoklch(53.86% 0.2 302.2)
XYZxyz(22.8561, 13.6842, 58.5522)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645CC #8BCC45
analogous
#4547CC #8645CC #C945CC
triadic
#8645CC #CC8645 #45CC86
tetradic
#8645CC #CC4547 #8BCC45 #45CCC9
square
#8645CC #CC4547 #8BCC45 #45CCC9
split-complementary
#8645CC #CCC945 #47CC45
monochromatic
#4A2076 #682EA6 #8645CC #A575D9 #C4A5E6

Accessibility & contrast

On white

5.62
#8645CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8645CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645CC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645CC#FFFFFF#000000##FFFFFF
##8645CC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#786383
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8645cc;
/* rgb */ color: rgb(134, 69, 204);
/* oklch */ color: oklch(53.9% 0.200 302.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ddc',
    500: '#8645cc',
    950: '#000000',
  },
}
SCSS
$custom: #8645cc;
$custom-light: #ae7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8645cc",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 268.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.20012,
    "h": 302.2
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#8645CC
secondary
#B7D399
accent
#E04897
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8645CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8645CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva