#8648D4#8648D4

#8648D4 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.205 H 300.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8648D4
RGBrgb(134, 72, 212)
HSLhsl(267, 62%, 56%)
HSVhsv(267, 66%, 83%)
CMYKcmyk(36.8%, 66%, 0%, 16.9%)
CIE-LABlab(44.88, 53.74, -62.39)
CIE-LCHlch(44.88, 82.35, 310.74°)
OKLaboklab(54.83% 0.1024 -0.1777)
OKLCHoklch(54.83% 0.205 300)
XYZxyz(24.0296, 14.4563, 63.7989)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8648D4 #96D448
analogous
#4850D4 #8648D4 #CC48D4
triadic
#8648D4 #D48648 #48D486
tetradic
#8648D4 #D44850 #96D448 #48D4CC
square
#8648D4 #D44850 #96D448 #48D4CC
split-complementary
#8648D4 #D4CC48 #50D448
monochromatic
#4B1F83 #682AB4 #8648D4 #A77AE0 #C8ABEB

Accessibility & contrast

On white

5.40
#8648D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8648D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8648D4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8648D4#FFFFFF#000000##FFFFFF
##8648D41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#756888
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8648d4;
/* rgb */ color: rgb(134, 72, 212);
/* oklch */ color: oklch(54.8% 0.205 300.0);
Tailwind
colors: {
  custom: {
    50: '#af7fe2',
    500: '#8648d4',
    950: '#000000',
  },
}
SCSS
$custom: #8648d4;
$custom-light: #af7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8648d4",
  "rgb": {
    "r": 134,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 266.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.20508,
    "h": 300
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#8648D4
secondary
#BFD99F
accent
#E5439D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8648D4

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

Preview Lab → · Contrast checker → · Palette generator →

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