#8645CB#8645CB

#8645CB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.8% C 0.199 H 302.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8645CB
RGBrgb(134, 69, 203)
HSLhsl(269, 56%, 53%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(34%, 66%, 0%, 20.4%)
CIE-LABlab(43.71, 53.03, -59.11)
CIE-LCHlch(43.71, 79.41, 311.89°)
OKLaboklab(53.79% 0.1067 -0.168)
OKLCHoklch(53.79% 0.199 302.4)
XYZxyz(22.7366, 13.6363, 57.9226)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645CB #8ACB45
analogous
#4547CB #8645CB #C945CB
triadic
#8645CB #CB8645 #45CB86
tetradic
#8645CB #CB4547 #8ACB45 #45CBC9
square
#8645CB #CB4547 #8ACB45 #45CBC9
split-complementary
#8645CB #CBC945 #47CB45
monochromatic
#4A2175 #682EA5 #8645CB #A575D8 #C4A5E6

Accessibility & contrast

On white

5.63
#8645CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8645CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645CB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645CB#FFFFFF#000000##FFFFFF
##8645CB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#786382
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8645cb;
/* rgb */ color: rgb(134, 69, 203);
/* oklch */ color: oklch(53.8% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ddc',
    500: '#8645cb',
    950: '#000000',
  },
}
SCSS
$custom: #8645cb;
$custom-light: #ae7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8645cb",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 269.104,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.19902,
    "h": 302.4
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8645CB

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

Preview Lab → · Contrast checker → · Palette generator →

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