#8638C2#8638C2

#8638C2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.206 H 306.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8638C2
RGBrgb(134, 56, 194)
HSLhsl(274, 55%, 49%)
HSVhsv(274, 71%, 76%)
CMYKcmyk(30.9%, 71.1%, 0%, 23.9%)
CIE-LABlab(40.88, 56.99, -58.46)
CIE-LCHlch(40.88, 81.64, 314.27°)
OKLaboklab(51.57% 0.1216 -0.166)
OKLCHoklch(51.57% 0.206 306.2)
XYZxyz(20.9812, 11.7919, 52.1992)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638C2 #74C238
analogous
#4138C2 #8638C2 #C238B9
triadic
#8638C2 #C28638 #38C286
tetradic
#8638C2 #C24138 #74C238 #38B9C2
square
#8638C2 #C24138 #74C238 #38B9C2
split-complementary
#8638C2 #B9C238 #38C241
monochromatic
#441D63 #652A93 #8638C2 #A365D2 #BF94E0

Accessibility & contrast

On white

6.25
#8638C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8638C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638C2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638C2#FFFFFF#000000##FFFFFF
##8638C21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#7C5879
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8638c2;
/* rgb */ color: rgb(134, 56, 194);
/* oklch */ color: oklch(51.6% 0.206 306.2);
Tailwind
colors: {
  custom: {
    50: '#ae75d5',
    500: '#8638c2',
    950: '#000000',
  },
}
SCSS
$custom: #8638c2;
$custom-light: #ae75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8638c2",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 273.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.20576,
    "h": 306.2
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#8638C2
secondary
#A7CB8A
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8638C2

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

Preview Lab → · Contrast checker → · Palette generator →

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