#8645C8#8645C8

#8645C8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.6% C 0.196 H 303.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8645C8
RGBrgb(134, 69, 200)
HSLhsl(270, 54%, 53%)
HSVhsv(270, 66%, 78%)
CMYKcmyk(33%, 65.5%, 0%, 21.6%)
CIE-LABlab(43.50, 52.30, -57.71)
CIE-LCHlch(43.50, 77.88, 312.19°)
OKLaboklab(53.57% 0.107 -0.1639)
OKLCHoklch(53.57% 0.196 303.1)
XYZxyz(22.3826, 13.4947, 56.0579)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645C8 #87C845
analogous
#4545C8 #8645C8 #C845C8
triadic
#8645C8 #C88645 #45C886
tetradic
#8645C8 #C84545 #87C845 #45C8C8
square
#8645C8 #C84545 #87C845 #45C8C8
split-complementary
#8645C8 #C8C845 #45C845
monochromatic
#492171 #672FA0 #8645C8 #A574D6 #C3A3E4

Accessibility & contrast

On white

5.68
#8645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8645C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645C8#FFFFFF#000000##FFFFFF
##8645C81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#796281
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8645c8;
/* rgb */ color: rgb(134, 69, 200);
/* oklch */ color: oklch(53.6% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#ae7dd9',
    500: '#8645c8',
    950: '#000000',
  },
}
SCSS
$custom: #8645c8;
$custom-light: #ae7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8645c8",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 269.771,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.19572,
    "h": 303.1
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#8645C8
secondary
#B5D198
accent
#DE4A94
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8645C8

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

Preview Lab → · Contrast checker → · Palette generator →

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