#8648D5#8648D5

#8648D5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.206 H 299.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8648D5
RGBrgb(134, 72, 213)
HSLhsl(266, 63%, 56%)
HSVhsv(266, 66%, 84%)
CMYKcmyk(37.1%, 66.2%, 0%, 16.5%)
CIE-LABlab(44.95, 53.99, -62.85)
CIE-LCHlch(44.95, 82.86, 310.66°)
OKLaboklab(54.91% 0.1023 -0.179)
OKLCHoklch(54.91% 0.206 299.8)
XYZxyz(24.1562, 14.5069, 64.4653)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8648D5 #97D548
analogous
#4850D5 #8648D5 #CC48D5
triadic
#8648D5 #D58648 #48D586
tetradic
#8648D5 #D54850 #97D548 #48D5CC
square
#8648D5 #D54850 #97D548 #48D5CC
split-complementary
#8648D5 #D5CC48 #50D548
monochromatic
#4B1E84 #672AB6 #8648D5 #A77AE0 #C8ACEC

Accessibility & contrast

On white

5.38
#8648D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8648D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8648D5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8648D5#FFFFFF#000000##FFFFFF
##8648D51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#746888
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8648d5;
/* rgb */ color: rgb(134, 72, 213);
/* oklch */ color: oklch(54.9% 0.206 299.8);
Tailwind
colors: {
  custom: {
    50: '#af7fe3',
    500: '#8648d5',
    950: '#000000',
  },
}
SCSS
$custom: #8648d5;
$custom-light: #af7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8648d5",
  "rgb": {
    "r": 134,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 266.383,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.2062,
    "h": 299.8
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#8648D5
secondary
#C0DA9F
accent
#E6429E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8648D5

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

Preview Lab → · Contrast checker → · Palette generator →

#8648D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva