#8A63D9#8A63D9

#8A63D9 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.174 H 295.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A63D9
RGBrgb(138, 99, 217)
HSLhsl(260, 61%, 62%)
HSVhsv(260, 54%, 85%)
CMYKcmyk(36.4%, 54.4%, 0%, 14.9%)
CIE-LABlab(51.08, 41.43, -55.23)
CIE-LCHlch(51.08, 69.04, 306.87°)
OKLaboklab(59.55% 0.0761 -0.1565)
OKLCHoklch(59.55% 0.174 295.9)
XYZxyz(27.4643, 19.3362, 67.9175)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63D9 #B2D963
analogous
#6377D9 #8A63D9 #C563D9
triadic
#8A63D9 #D98A63 #63D98A
tetradic
#8A63D9 #D96377 #B2D963 #63D9C5
square
#8A63D9 #D96377 #B2D963 #63D9C5
split-complementary
#8A63D9 #D9C563 #77D963
monochromatic
#4D269C #6532CD #8A63D9 #AF94E5 #D4C5F1

Accessibility & contrast

On white

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

On black

4.87
#8A63D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63D9#FFFFFF#000000##000000
##8A63D91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#777B94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a63d9;
/* rgb */ color: rgb(138, 99, 217);
/* oklch */ color: oklch(59.6% 0.174 295.9);
Tailwind
colors: {
  custom: {
    50: '#b090e5',
    500: '#8a63d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a63d9;
$custom-light: #b090e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63d9",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 217
  },
  "hsl": {
    "h": 259.831,
    "s": 60.825,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.17406,
    "h": 295.9
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#8A63D9
secondary
#D3E2B6
accent
#C91D90
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A63D9

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

Preview Lab → · Contrast checker → · Palette generator →

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