#8638C4#8638C4

#8638C4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.208 H 305.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8638C4
RGBrgb(134, 56, 196)
HSLhsl(273, 56%, 49%)
HSVhsv(273, 71%, 77%)
CMYKcmyk(31.6%, 71.4%, 0%, 23.1%)
CIE-LABlab(41.03, 57.45, -59.39)
CIE-LCHlch(41.03, 82.63, 314.05°)
OKLaboklab(51.72% 0.1212 -0.1688)
OKLCHoklch(51.72% 0.208 305.7)
XYZxyz(21.2073, 11.8824, 53.3901)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638C4 #76C438
analogous
#4038C4 #8638C4 #C438BC
triadic
#8638C4 #C48638 #38C486
tetradic
#8638C4 #C44038 #76C438 #38BCC4
square
#8638C4 #C44038 #76C438 #38BCC4
split-complementary
#8638C4 #BCC438 #38C440
monochromatic
#451D65 #652A94 #8638C4 #A366D3 #C096E1

Accessibility & contrast

On white

6.22
#8638C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8638C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638C4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638C4#FFFFFF#000000##FFFFFF
##8638C41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#7B597A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8638c4;
/* rgb */ color: rgb(134, 56, 196);
/* oklch */ color: oklch(51.7% 0.208 305.7);
Tailwind
colors: {
  custom: {
    50: '#ae75d7',
    500: '#8638c4',
    950: '#000000',
  },
}
SCSS
$custom: #8638c4;
$custom-light: #ae75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8638c4",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 273.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.20779,
    "h": 305.7
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#8638C4
secondary
#A8CC8C
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8638C4

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

Preview Lab → · Contrast checker → · Palette generator →

#8638C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva