#8631D4#8631D4

#8631D4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.231 H 302.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8631D4
RGBrgb(134, 49, 212)
HSLhsl(271, 65%, 51%)
HSVhsv(271, 77%, 83%)
CMYKcmyk(36.8%, 76.9%, 0%, 16.9%)
CIE-LABlab(41.25, 63.97, -68.30)
CIE-LCHlch(41.25, 93.58, 313.13°)
OKLaboklab(52.25% 0.1242 -0.1949)
OKLCHoklch(52.25% 0.231 302.5)
XYZxyz(22.8107, 12.0184, 63.3926)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8631D4 #7FD431
analogous
#3431D4 #8631D4 #D431D1
triadic
#8631D4 #D48631 #31D486
tetradic
#8631D4 #D43431 #7FD431 #31D1D4
square
#8631D4 #D43431 #7FD431 #31D1D4
split-complementary
#8631D4 #D1D431 #31D434
monochromatic
#471873 #6723A5 #8631D4 #A464DF #C196E9

Accessibility & contrast

On white

6.17
#8631D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8631D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8631D4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8631D4#FFFFFF#000000##FFFFFF
##8631D41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#755C82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8631d4;
/* rgb */ color: rgb(134, 49, 212);
/* oklch */ color: oklch(52.3% 0.231 302.5);
Tailwind
colors: {
  custom: {
    50: '#b073e2',
    500: '#8631d4',
    950: '#000000',
  },
}
SCSS
$custom: #8631d4;
$custom-light: #b073e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8631d4",
  "rgb": {
    "r": 134,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 271.288,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.23112,
    "h": 302.5
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#8631D4
secondary
#AFD48C
accent
#E83F90
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8631D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8631D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva