#8638BF#8638BF

#8638BF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.203 H 307.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8638BF
RGBrgb(134, 56, 191)
HSLhsl(275, 55%, 48%)
HSVhsv(275, 71%, 75%)
CMYKcmyk(29.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(40.67, 56.31, -57.05)
CIE-LCHlch(40.67, 80.16, 314.63°)
OKLaboklab(51.35% 0.122 -0.1619)
OKLCHoklch(51.35% 0.203 307)
XYZxyz(20.6477, 11.6585, 50.4427)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638BF #71BF38
analogous
#4338BF #8638BF #BF38B4
triadic
#8638BF #BF8638 #38BF86
tetradic
#8638BF #BF4338 #71BF38 #38B4BF
square
#8638BF #BF4338 #71BF38 #38B4BF
split-complementary
#8638BF #B4BF38 #38BF43
monochromatic
#441C60 #652A90 #8638BF #A363D1 #BF92DF

Accessibility & contrast

On white

6.30
#8638BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8638BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638BF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638BF#FFFFFF#000000##FFFFFF
##8638BF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#7C5778
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8638bf;
/* rgb */ color: rgb(134, 56, 191);
/* oklch */ color: oklch(51.3% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#ae75d3',
    500: '#8638bf',
    950: '#000000',
  },
}
SCSS
$custom: #8638bf;
$custom-light: #ae75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8638bf",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 274.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.20272,
    "h": 307
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#8638BF
secondary
#A4CA89
accent
#DE4A88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8638BF

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

Preview Lab → · Contrast checker → · Palette generator →

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