#8638C7#8638C7

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

Color values

HEX#8638C7
RGBrgb(134, 56, 199)
HSLhsl(273, 56%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(32.7%, 71.9%, 0%, 22%)
CIE-LABlab(41.25, 58.14, -60.78)
CIE-LCHlch(41.25, 84.11, 313.73°)
OKLaboklab(51.94% 0.1207 -0.1728)
OKLCHoklch(51.94% 0.211 304.9)
XYZxyz(21.5522, 12.0203, 55.2065)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638C7 #79C738
analogous
#3E38C7 #8638C7 #C738C1
triadic
#8638C7 #C78638 #38C786
tetradic
#8638C7 #C73E38 #79C738 #38C1C7
square
#8638C7 #C73E38 #79C738 #38C1C7
split-complementary
#8638C7 #C1C738 #38C73E
monochromatic
#461D67 #662B97 #8638C7 #A368D4 #C098E2

Accessibility & contrast

On white

6.17
#8638C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8638C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638C7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638C7#FFFFFF#000000##FFFFFF
##8638C71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8638c7;
/* rgb */ color: rgb(134, 56, 199);
/* oklch */ color: oklch(51.9% 0.211 304.9);
Tailwind
colors: {
  custom: {
    50: '#af75d9',
    500: '#8638c7',
    950: '#000000',
  },
}
SCSS
$custom: #8638c7;
$custom-light: #af75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8638c7",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 272.727,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.21083,
    "h": 304.9
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#8638C7
secondary
#AACD8D
accent
#DF488D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638C7

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

Preview Lab → · Contrast checker → · Palette generator →

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