#8638B2#8638B2

#8638B2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.190 H 310.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8638B2
RGBrgb(134, 56, 178)
HSLhsl(278, 52%, 46%)
HSVhsv(278, 69%, 70%)
CMYKcmyk(24.7%, 68.5%, 0%, 30.2%)
CIE-LABlab(39.77, 53.41, -50.86)
CIE-LCHlch(39.77, 73.75, 316.40°)
OKLaboklab(50.42% 0.1236 -0.1437)
OKLCHoklch(50.42% 0.19 310.7)
XYZxyz(19.2800, 11.1115, 43.2399)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638B2 #64B238
analogous
#4938B2 #8638B2 #B238A1
triadic
#8638B2 #B28638 #38B286
tetradic
#8638B2 #B24938 #64B238 #38A1B2
square
#8638B2 #B24938 #64B238 #38A1B2
split-complementary
#8638B2 #A1B238 #38B249
monochromatic
#401B55 #632983 #8638B2 #A35CCC #BD8ADA

Accessibility & contrast

On white

6.52
#8638B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8638B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638B2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638B2#FFFFFF#000000##FFFFFF
##8638B21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#805271
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8638b2;
/* rgb */ color: rgb(134, 56, 178);
/* oklch */ color: oklch(50.4% 0.190 310.7);
Tailwind
colors: {
  custom: {
    50: '#ad75ca',
    500: '#8638b2',
    950: '#000000',
  },
}
SCSS
$custom: #8638b2;
$custom-light: #ad75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8638b2",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 278.361,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.18954,
    "h": 310.7
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#8638B2
secondary
#9AC581
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8638B2

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

Preview Lab → · Contrast checker → · Palette generator →

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