#8638C5#8638C5

#8638C5 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.209 H 305.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8638C5
RGBrgb(134, 56, 197)
HSLhsl(273, 56%, 50%)
HSVhsv(273, 72%, 77%)
CMYKcmyk(32%, 71.6%, 0%, 22.7%)
CIE-LABlab(41.10, 57.68, -59.85)
CIE-LCHlch(41.10, 83.12, 313.94°)
OKLaboklab(51.79% 0.1211 -0.1701)
OKLCHoklch(51.79% 0.209 305.4)
XYZxyz(21.3215, 11.9280, 53.9916)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638C5 #77C538
analogous
#3F38C5 #8638C5 #C538BE
triadic
#8638C5 #C58638 #38C586
tetradic
#8638C5 #C53F38 #77C538 #38BEC5
square
#8638C5 #C53F38 #77C538 #38BEC5
split-complementary
#8638C5 #BEC538 #38C53F
monochromatic
#451D66 #662A95 #8638C5 #A367D4 #C096E1

Accessibility & contrast

On white

6.20
#8638C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8638C5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638C5#FFFFFF#000000##FFFFFF
##8638C51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#7B597B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8638c5;
/* rgb */ color: rgb(134, 56, 197);
/* oklch */ color: oklch(51.8% 0.209 305.4);
Tailwind
colors: {
  custom: {
    50: '#ae75d7',
    500: '#8638c5',
    950: '#000000',
  },
}
SCSS
$custom: #8638c5;
$custom-light: #ae75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8638c5",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 273.191,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.2088,
    "h": 305.4
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#8638C5
secondary
#A9CD8C
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8638C5

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

Preview Lab → · Contrast checker → · Palette generator →

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