#8A63DA#8A63DA

#8A63DA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.6% C 0.175 H 295.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A63DA
RGBrgb(138, 99, 218)
HSLhsl(260, 62%, 62%)
HSVhsv(260, 55%, 85%)
CMYKcmyk(36.7%, 54.6%, 0%, 14.5%)
CIE-LABlab(51.14, 41.69, -55.70)
CIE-LCHlch(51.14, 69.58, 306.81°)
OKLaboklab(59.62% 0.0761 -0.1579)
OKLCHoklch(59.62% 0.175 295.7)
XYZxyz(27.5947, 19.3884, 68.6046)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63DA #B3DA63
analogous
#6378DA #8A63DA #C663DA
triadic
#8A63DA #DA8A63 #63DA8A
tetradic
#8A63DA #DA6378 #B3DA63 #63DAC6
square
#8A63DA #DA6378 #B3DA63 #63DAC6
split-complementary
#8A63DA #DAC663 #78DA63
monochromatic
#4D259D #6532CE #8A63DA #AF94E6 #D4C6F1

Accessibility & contrast

On white

4.31
#8A63DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A63DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63DA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63DA#FFFFFF#000000##000000
##8A63DA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDE
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#777B95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a63da;
/* rgb */ color: rgb(138, 99, 218);
/* oklch */ color: oklch(59.6% 0.175 295.7);
Tailwind
colors: {
  custom: {
    50: '#b090e6',
    500: '#8a63da',
    950: '#000000',
  },
}
SCSS
$custom: #8a63da;
$custom-light: #b090e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63da",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 218
  },
  "hsl": {
    "h": 259.664,
    "s": 61.658,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.17531,
    "h": 295.7
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#8A63DA
secondary
#D4E2B7
accent
#C91C91
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A63DA

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

Preview Lab → · Contrast checker → · Palette generator →

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