#8638C3#8638C3

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

Color values

HEX#8638C3
RGBrgb(134, 56, 195)
HSLhsl(274, 55%, 49%)
HSVhsv(274, 71%, 76%)
CMYKcmyk(31.3%, 71.3%, 0%, 23.5%)
CIE-LABlab(40.96, 57.22, -58.92)
CIE-LCHlch(40.96, 82.13, 314.16°)
OKLaboklab(51.64% 0.1214 -0.1674)
OKLCHoklch(51.64% 0.207 305.9)
XYZxyz(21.0939, 11.8370, 52.7927)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638C3 #75C338
analogous
#4138C3 #8638C3 #C338BB
triadic
#8638C3 #C38638 #38C386
tetradic
#8638C3 #C34138 #75C338 #38BBC3
square
#8638C3 #C34138 #75C338 #38BBC3
split-complementary
#8638C3 #BBC338 #38C341
monochromatic
#451D64 #652A93 #8638C3 #A365D3 #BF95E1

Accessibility & contrast

On white

6.24
#8638C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8638C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638C3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638C3#FFFFFF#000000##FFFFFF
##8638C31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#7B587A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8638c3;
/* rgb */ color: rgb(134, 56, 195);
/* oklch */ color: oklch(51.6% 0.207 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae75d6',
    500: '#8638c3',
    950: '#000000',
  },
}
SCSS
$custom: #8638c3;
$custom-light: #ae75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8638c3",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 273.669,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.20677,
    "h": 305.9
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#8638C3
secondary
#A7CC8B
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8638C3

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

Preview Lab → · Contrast checker → · Palette generator →

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