#8638CA#8638CA

#8638CA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.214 H 304.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8638CA
RGBrgb(134, 56, 202)
HSLhsl(272, 58%, 51%)
HSVhsv(272, 72%, 79%)
CMYKcmyk(33.7%, 72.3%, 0%, 20.8%)
CIE-LABlab(41.47, 58.83, -62.16)
CIE-LCHlch(41.47, 85.58, 313.42°)
OKLaboklab(52.17% 0.1202 -0.1769)
OKLCHoklch(52.17% 0.214 304.2)
XYZxyz(21.9039, 12.1610, 57.0590)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638CA #7CCA38
analogous
#3D38CA #8638CA #CA38C5
triadic
#8638CA #CA8638 #38CA86
tetradic
#8638CA #CA3D38 #7CCA38 #38C5CA
square
#8638CA #CA3D38 #7CCA38 #38C5CA
split-complementary
#8638CA #C5CA38 #38CA3D
monochromatic
#461D6B #66299B #8638CA #A368D7 #C199E4

Accessibility & contrast

On white

6.12
#8638CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8638CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638CA#FFFFFF#000000##FFFFFF
##8638CA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#795B7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8638ca;
/* rgb */ color: rgb(134, 56, 202);
/* oklch */ color: oklch(52.2% 0.214 304.2);
Tailwind
colors: {
  custom: {
    50: '#af76db',
    500: '#8638ca',
    950: '#000000',
  },
}
SCSS
$custom: #8638ca;
$custom-light: #af76db;
$custom-dark: #000000;
JSON
{
  "hex": "#8638ca",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 272.055,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.21387,
    "h": 304.2
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#8638CA
secondary
#ADCF8E
accent
#E1478F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638CA

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

Preview Lab → · Contrast checker → · Palette generator →

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