#8A63D3#8A63D3

#8A63D3 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.166 H 297.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A63D3
RGBrgb(138, 99, 211)
HSLhsl(261, 56%, 61%)
HSVhsv(261, 53%, 83%)
CMYKcmyk(34.6%, 53.1%, 0%, 17.3%)
CIE-LABlab(50.72, 39.86, -52.39)
CIE-LCHlch(50.72, 65.83, 307.26°)
OKLaboklab(59.18% 0.0759 -0.1482)
OKLCHoklch(59.18% 0.166 297.1)
XYZxyz(26.6980, 19.0297, 63.8819)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63D3 #ACD363
analogous
#6374D3 #8A63D3 #C263D3
triadic
#8A63D3 #D38A63 #63D38A
tetradic
#8A63D3 #D36374 #ACD363 #63D3C2
square
#8A63D3 #D36374 #ACD363 #63D3C2
split-complementary
#8A63D3 #D3C263 #74D363
monochromatic
#4E2992 #6737C2 #8A63D3 #AE93E0 #D2C2EE

Accessibility & contrast

On white

4.37
#8A63D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A63D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63D3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63D3#FFFFFF#000000##000000
##8A63D31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3679D7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#7A7992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a63d3;
/* rgb */ color: rgb(138, 99, 211);
/* oklch */ color: oklch(59.2% 0.166 297.1);
Tailwind
colors: {
  custom: {
    50: '#b090e1',
    500: '#8a63d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a63d3;
$custom-light: #b090e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63d3",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 211
  },
  "hsl": {
    "h": 260.893,
    "s": 56,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.16649,
    "h": 297.1
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#8A63D3
secondary
#CFDEB4
accent
#C4228B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A63D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8A63D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva