#8638C6#8638C6

#8638C6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.210 H 305.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8638C6
RGBrgb(134, 56, 198)
HSLhsl(273, 56%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(32.3%, 71.7%, 0%, 22.4%)
CIE-LABlab(41.17, 57.91, -60.31)
CIE-LCHlch(41.17, 83.61, 313.83°)
OKLaboklab(51.87% 0.1209 -0.1715)
OKLCHoklch(51.87% 0.21 305.2)
XYZxyz(21.4365, 11.9740, 54.5970)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638C6 #78C638
analogous
#3F38C6 #8638C6 #C638BF
triadic
#8638C6 #C68638 #38C686
tetradic
#8638C6 #C63F38 #78C638 #38BFC6
square
#8638C6 #C63F38 #78C638 #38BFC6
split-complementary
#8638C6 #BFC638 #38C63F
monochromatic
#451D67 #662B96 #8638C6 #A367D4 #C097E2

Accessibility & contrast

On white

6.19
#8638C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8638C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638C6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638C6#FFFFFF#000000##FFFFFF
##8638C61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#7A5A7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8638c6;
/* rgb */ color: rgb(134, 56, 198);
/* oklch */ color: oklch(51.9% 0.210 305.2);
Tailwind
colors: {
  custom: {
    50: '#ae75d8',
    500: '#8638c6',
    950: '#000000',
  },
}
SCSS
$custom: #8638c6;
$custom-light: #ae75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8638c6",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 272.958,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.20981,
    "h": 305.2
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#8638C6
secondary
#AACD8D
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8638C6

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

Preview Lab → · Contrast checker → · Palette generator →

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