#8638CF#8638CF

#8638CF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.219 H 303.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8638CF
RGBrgb(134, 56, 207)
HSLhsl(271, 61%, 52%)
HSVhsv(271, 73%, 81%)
CMYKcmyk(35.3%, 72.9%, 0%, 18.8%)
CIE-LABlab(41.85, 59.99, -64.44)
CIE-LCHlch(41.85, 88.04, 312.95°)
OKLaboklab(52.55% 0.1192 -0.1836)
OKLCHoklch(52.55% 0.219 303)
XYZxyz(22.5055, 12.4017, 60.2275)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638CF #81CF38
analogous
#3B38CF #8638CF #CF38CD
triadic
#8638CF #CF8638 #38CF86
tetradic
#8638CF #CF3B38 #81CF38 #38CDCF
square
#8638CF #CF3B38 #81CF38 #38CDCF
split-complementary
#8638CF #CDCF38 #38CF3B
monochromatic
#481B71 #6727A3 #8638CF #A469DB #C29BE7

Accessibility & contrast

On white

6.03
#8638CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8638CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638CF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638CF#FFFFFF#000000##FFFFFF
##8638CF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#775D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8638cf;
/* rgb */ color: rgb(134, 56, 207);
/* oklch */ color: oklch(52.6% 0.219 303.0);
Tailwind
colors: {
  custom: {
    50: '#af76df',
    500: '#8638cf',
    950: '#000000',
  },
}
SCSS
$custom: #8638cf;
$custom-light: #af76df;
$custom-dark: #000000;
JSON
{
  "hex": "#8638cf",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 270.993,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.21893,
    "h": 303
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#8638CF
secondary
#B0D390
accent
#E44491
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638CF

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

Preview Lab → · Contrast checker → · Palette generator →

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