#8638CD#8638CD

#8638CD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.217 H 303.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8638CD
RGBrgb(134, 56, 205)
HSLhsl(271, 60%, 51%)
HSVhsv(271, 73%, 80%)
CMYKcmyk(34.6%, 72.7%, 0%, 19.6%)
CIE-LABlab(41.70, 59.52, -63.53)
CIE-LCHlch(41.70, 87.06, 313.14°)
OKLaboklab(52.4% 0.1196 -0.1809)
OKLCHoklch(52.4% 0.217 303.5)
XYZxyz(22.2626, 12.3045, 58.9479)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638CD #7FCD38
analogous
#3B38CD #8638CD #CD38CA
triadic
#8638CD #CD8638 #38CD86
tetradic
#8638CD #CD3B38 #7FCD38 #38CACD
square
#8638CD #CD3B38 #7FCD38 #38CACD
split-complementary
#8638CD #CACD38 #38CD3B
monochromatic
#471C6F #6728A0 #8638CD #A469D9 #C19AE6

Accessibility & contrast

On white

6.07
#8638CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8638CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638CD#FFFFFF#000000##FFFFFF
##8638CD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#785C7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8638cd;
/* rgb */ color: rgb(134, 56, 205);
/* oklch */ color: oklch(52.4% 0.217 303.5);
Tailwind
colors: {
  custom: {
    50: '#af76dd',
    500: '#8638cd',
    950: '#000000',
  },
}
SCSS
$custom: #8638cd;
$custom-light: #af76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8638cd",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 271.409,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.2169,
    "h": 303.5
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#8638CD
secondary
#AFD18F
accent
#E34590
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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