#8638D2#8638D2

#8638D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.222 H 302.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8638D2
RGBrgb(134, 56, 210)
HSLhsl(270, 63%, 52%)
HSVhsv(270, 73%, 82%)
CMYKcmyk(36.2%, 73.3%, 0%, 17.6%)
CIE-LABlab(42.08, 60.68, -65.80)
CIE-LCHlch(42.08, 89.51, 312.69°)
OKLaboklab(52.79% 0.1186 -0.1876)
OKLCHoklch(52.79% 0.222 302.3)
XYZxyz(22.8758, 12.5498, 62.1774)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638D2 #84D238
analogous
#3938D2 #8638D2 #D238D1
triadic
#8638D2 #D28638 #38D286
tetradic
#8638D2 #D23938 #84D238 #38D1D2
square
#8638D2 #D23938 #84D238 #38D1D2
split-complementary
#8638D2 #D1D238 #38D239
monochromatic
#481A75 #6726A7 #8638D2 #A46ADD #C39CE9

Accessibility & contrast

On white

5.98
#8638D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8638D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638D2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638D2#FFFFFF#000000##FFFFFF
##8638D21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#765F82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8638d2;
/* rgb */ color: rgb(134, 56, 210);
/* oklch */ color: oklch(52.8% 0.222 302.3);
Tailwind
colors: {
  custom: {
    50: '#af76e1',
    500: '#8638d2',
    950: '#000000',
  },
}
SCSS
$custom: #8638d2;
$custom-light: #af76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8638d2",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 270.39,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.22197,
    "h": 302.3
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#8638D2
secondary
#B2D591
accent
#E64293
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638D2

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

Preview Lab → · Contrast checker → · Palette generator →

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