#8645E2#8645E2

#8645E2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.224 H 297.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8645E2
RGBrgb(134, 69, 226)
HSLhsl(265, 73%, 58%)
HSVhsv(265, 69%, 89%)
CMYKcmyk(40.7%, 69.5%, 0%, 11.4%)
CIE-LABlab(45.38, 58.68, -69.57)
CIE-LCHlch(45.38, 91.02, 310.15°)
OKLaboklab(55.51% 0.1035 -0.1988)
OKLCHoklch(55.51% 0.224 297.5)
XYZxyz(25.6836, 14.8151, 73.4432)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645E2 #A1E245
analogous
#4552E2 #8645E2 #D545E2
triadic
#8645E2 #E28645 #45E286
tetradic
#8645E2 #E24552 #A1E245 #45E2D5
square
#8645E2 #E24552 #A1E245 #45E2D5
split-complementary
#8645E2 #E2D545 #52E245
monochromatic
#4B1795 #6620CA #8645E2 #A87AEA #CBAFF3

Accessibility & contrast

On white

5.30
#8645E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8645E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645E2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645E2#FFFFFF#000000##FFFFFF
##8645E21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#6F6C8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8645e2;
/* rgb */ color: rgb(134, 69, 226);
/* oklch */ color: oklch(55.5% 0.224 297.5);
Tailwind
colors: {
  custom: {
    50: '#b07eec',
    500: '#8645e2',
    950: '#000000',
  },
}
SCSS
$custom: #8645e2;
$custom-light: #b07eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8645e2",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 264.841,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.22407,
    "h": 297.5
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#8645E2
secondary
#C7E1A2
accent
#F038A4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645E2

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

Preview Lab → · Contrast checker → · Palette generator →

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