#8638D9#8638D9

#8638D9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.229 H 300.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8638D9
RGBrgb(134, 56, 217)
HSLhsl(269, 68%, 54%)
HSVhsv(269, 74%, 85%)
CMYKcmyk(38.2%, 74.2%, 0%, 14.9%)
CIE-LABlab(42.62, 62.32, -68.93)
CIE-LCHlch(42.62, 92.93, 312.12°)
OKLaboklab(53.34% 0.1171 -0.1968)
OKLCHoklch(53.34% 0.229 300.8)
XYZxyz(23.7670, 12.9062, 66.8712)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638D9 #8BD938
analogous
#383AD9 #8638D9 #D638D9
triadic
#8638D9 #D98638 #38D986
tetradic
#8638D9 #D9383A #8BD938 #38D9D6
square
#8638D9 #D9383A #8BD938 #38D9D6
split-complementary
#8638D9 #D9D638 #3AD938
monochromatic
#4A187E #6822B2 #8638D9 #A56BE3 #C49FED

Accessibility & contrast

On white

5.86
#8638D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8638D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638D9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638D9#FFFFFF#000000##FFFFFF
##8638D91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#736186
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8638d9;
/* rgb */ color: rgb(134, 56, 217);
/* oklch */ color: oklch(53.3% 0.229 300.8);
Tailwind
colors: {
  custom: {
    50: '#b076e6',
    500: '#8638d9',
    950: '#000000',
  },
}
SCSS
$custom: #8638d9;
$custom-light: #b076e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8638d9",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 269.068,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.22903,
    "h": 300.8
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#8638D9
secondary
#B7D994
accent
#EB3D97
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8638D9

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

Preview Lab → · Contrast checker → · Palette generator →

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