#8638DC#8638DC

#8638DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.232 H 300.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8638DC
RGBrgb(134, 56, 220)
HSLhsl(269, 70%, 54%)
HSVhsv(269, 75%, 86%)
CMYKcmyk(39.1%, 74.5%, 0%, 13.7%)
CIE-LABlab(42.86, 63.03, -70.26)
CIE-LCHlch(42.86, 94.39, 311.89°)
OKLaboklab(53.58% 0.1164 -0.2007)
OKLCHoklch(53.58% 0.232 300.1)
XYZxyz(24.1607, 13.0637, 68.9449)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638DC #8EDC38
analogous
#383CDC #8638DC #D838DC
triadic
#8638DC #DC8638 #38DC86
tetradic
#8638DC #DC383C #8EDC38 #38DCD8
square
#8638DC #DC383C #8EDC38 #38DCD8
split-complementary
#8638DC #DCD838 #3CDC38
monochromatic
#4A1783 #6820B7 #8638DC #A66CE5 #C5A0EE

Accessibility & contrast

On white

5.81
#8638DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8638DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638DC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638DC#FFFFFF#000000##FFFFFF
##8638DC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#726388
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8638dc;
/* rgb */ color: rgb(134, 56, 220);
/* oklch */ color: oklch(53.6% 0.232 300.1);
Tailwind
colors: {
  custom: {
    50: '#b076e8',
    500: '#8638dc',
    950: '#000000',
  },
}
SCSS
$custom: #8638dc;
$custom-light: #b076e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8638dc",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 220
  },
  "hsl": {
    "h": 268.537,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.23205,
    "h": 300.1
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#8638DC
secondary
#BADB95
accent
#ED3B98
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8638DC

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

Preview Lab → · Contrast checker → · Palette generator →

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