#8648CB#8648CB

#8648CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.195 H 302.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8648CB
RGBrgb(134, 72, 203)
HSLhsl(268, 56%, 54%)
HSVhsv(268, 65%, 80%)
CMYKcmyk(34%, 64.5%, 0%, 20.4%)
CIE-LABlab(44.25, 51.53, -58.23)
CIE-LCHlch(44.25, 77.75, 311.51°)
OKLaboklab(54.18% 0.1034 -0.1654)
OKLCHoklch(54.18% 0.195 302)
XYZxyz(22.9258, 14.0148, 57.9856)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8648CB #8DCB48
analogous
#484CCB #8648CB #C848CB
triadic
#8648CB #CB8648 #48CB86
tetradic
#8648CB #CB484C #8DCB48 #48CBC8
square
#8648CB #CB484C #8DCB48 #48CBC8
split-complementary
#8648CB #CBC848 #4CCB48
monochromatic
#4A2277 #682FA6 #8648CB #A678D9 #C5A7E6

Accessibility & contrast

On white

5.52
#8648CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8648CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8648CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8648CB#FFFFFF#000000##FFFFFF
##8648CB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#786583
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8648cb;
/* rgb */ color: rgb(134, 72, 203);
/* oklch */ color: oklch(54.2% 0.195 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae7fdc',
    500: '#8648cb',
    950: '#000000',
  },
}
SCSS
$custom: #8648cb;
$custom-light: #ae7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8648cb",
  "rgb": {
    "r": 134,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 268.397,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.19505,
    "h": 302
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#8648CB
secondary
#B9D39B
accent
#DF4998
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8648CB

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

Preview Lab → · Contrast checker → · Palette generator →

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