#8638CB#8638CB

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

Color values

HEX#8638CB
RGBrgb(134, 56, 203)
HSLhsl(272, 59%, 51%)
HSVhsv(272, 72%, 80%)
CMYKcmyk(34%, 72.4%, 0%, 20.4%)
CIE-LABlab(41.55, 59.06, -62.62)
CIE-LCHlch(41.55, 86.07, 313.33°)
OKLaboklab(52.25% 0.12 -0.1782)
OKLCHoklch(52.25% 0.215 304)
XYZxyz(22.0227, 12.2085, 57.6846)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638CB #7DCB38
analogous
#3C38CB #8638CB #CB38C6
triadic
#8638CB #CB8638 #38CB86
tetradic
#8638CB #CB3C38 #7DCB38 #38C6CB
square
#8638CB #CB3C38 #7DCB38 #38C6CB
split-complementary
#8638CB #C6CB38 #38CB3C
monochromatic
#471C6C #66299D #8638CB #A469D8 #C199E4

Accessibility & contrast

On white

6.10
#8638CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8638CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638CB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638CB#FFFFFF#000000##FFFFFF
##8638CB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#795C7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8638cb;
/* rgb */ color: rgb(134, 56, 203);
/* oklch */ color: oklch(52.2% 0.215 304.0);
Tailwind
colors: {
  custom: {
    50: '#af76dc',
    500: '#8638cb',
    950: '#000000',
  },
}
SCSS
$custom: #8638cb;
$custom-light: #af76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8638cb",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 271.837,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.21488,
    "h": 304
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#8638CB
secondary
#ADD08F
accent
#E2468F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8638CB

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

Preview Lab → · Contrast checker → · Palette generator →

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