#8645DF#8645DF

#8645DF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.221 H 298.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8645DF
RGBrgb(134, 69, 223)
HSLhsl(265, 71%, 57%)
HSVhsv(265, 69%, 87%)
CMYKcmyk(39.9%, 69.1%, 0%, 12.5%)
CIE-LABlab(45.15, 57.94, -68.23)
CIE-LCHlch(45.15, 89.51, 310.33°)
OKLaboklab(55.28% 0.104 -0.1948)
OKLCHoklch(55.28% 0.221 298.1)
XYZxyz(25.2755, 14.6519, 71.2942)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8645DF #9EDF45
analogous
#4551DF #8645DF #D345DF
triadic
#8645DF #DF8645 #45DF86
tetradic
#8645DF #DF4551 #9EDF45 #45DFD3
square
#8645DF #DF4551 #9EDF45 #45DFD3
split-complementary
#8645DF #DFD345 #51DF45
monochromatic
#4B1991 #6722C5 #8645DF #A879E8 #CAADF1

Accessibility & contrast

On white

5.34
#8645DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8645DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8645DF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8645DF#FFFFFF#000000##FFFFFF
##8645DF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#706B8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8645df;
/* rgb */ color: rgb(134, 69, 223);
/* oklch */ color: oklch(55.3% 0.221 298.1);
Tailwind
colors: {
  custom: {
    50: '#b07dea',
    500: '#8645df',
    950: '#000000',
  },
}
SCSS
$custom: #8645df;
$custom-light: #b07dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8645df",
  "rgb": {
    "r": 134,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 265.325,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.22083,
    "h": 298.1
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#8645DF
secondary
#C5DFA1
accent
#ED3AA2
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8645DF

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

Preview Lab → · Contrast checker → · Palette generator →

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