#8638D0#8638D0

#8638D0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.220 H 302.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8638D0
RGBrgb(134, 56, 208)
HSLhsl(271, 62%, 52%)
HSVhsv(271, 73%, 82%)
CMYKcmyk(35.6%, 73.1%, 0%, 18.4%)
CIE-LABlab(41.92, 60.22, -64.89)
CIE-LCHlch(41.92, 88.53, 312.86°)
OKLaboklab(52.63% 0.119 -0.1849)
OKLCHoklch(52.63% 0.22 302.8)
XYZxyz(22.6282, 12.4507, 60.8734)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638D0 #82D038
analogous
#3A38D0 #8638D0 #D038CE
triadic
#8638D0 #D08638 #38D086
tetradic
#8638D0 #D03A38 #82D038 #38CED0
square
#8638D0 #D03A38 #82D038 #38CED0
split-complementary
#8638D0 #CED038 #38D03A
monochromatic
#481B73 #6727A4 #8638D0 #A46ADC #C29BE7

Accessibility & contrast

On white

6.02
#8638D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8638D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638D0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638D0#FFFFFF#000000##FFFFFF
##8638D01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#775E81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8638d0;
/* rgb */ color: rgb(134, 56, 208);
/* oklch */ color: oklch(52.6% 0.220 302.8);
Tailwind
colors: {
  custom: {
    50: '#af76df',
    500: '#8638d0',
    950: '#000000',
  },
}
SCSS
$custom: #8638d0;
$custom-light: #af76df;
$custom-dark: #000000;
JSON
{
  "hex": "#8638d0",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 270.789,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.21994,
    "h": 302.8
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#8638D0
secondary
#B1D391
accent
#E54392
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638D0

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

Preview Lab → · Contrast checker → · Palette generator →

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