#8638BD#8638BD

#8638BD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.201 H 307.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8638BD
RGBrgb(134, 56, 189)
HSLhsl(275, 54%, 48%)
HSVhsv(275, 70%, 74%)
CMYKcmyk(29.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(40.53, 55.86, -56.11)
CIE-LCHlch(40.53, 79.17, 314.87°)
OKLaboklab(51.2% 0.1223 -0.1591)
OKLCHoklch(51.2% 0.201 307.5)
XYZxyz(20.4291, 11.5711, 49.2915)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638BD #6FBD38
analogous
#4338BD #8638BD #BD38B1
triadic
#8638BD #BD8638 #38BD86
tetradic
#8638BD #BD4338 #6FBD38 #38B1BD
square
#8638BD #BD4338 #6FBD38 #38B1BD
split-complementary
#8638BD #B1BD38 #38BD43
monochromatic
#431C5F #652A8E #8638BD #A362D0 #BE91DE

Accessibility & contrast

On white

6.34
#8638BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8638BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638BD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638BD#FFFFFF#000000##FFFFFF
##8638BD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#7D5677
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8638bd;
/* rgb */ color: rgb(134, 56, 189);
/* oklch */ color: oklch(51.2% 0.201 307.5);
Tailwind
colors: {
  custom: {
    50: '#ae75d2',
    500: '#8638bd',
    950: '#000000',
  },
}
SCSS
$custom: #8638bd;
$custom-light: #ae75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8638bd",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 275.188,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51203,
    "c": 0.20068,
    "h": 307.5
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#8638BD
secondary
#A3C987
accent
#DE4A87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8638BD

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

Preview Lab → · Contrast checker → · Palette generator →

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