#8A68D3#8A68D3

#8A68D3 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.0% C 0.159 H 295.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A68D3
RGBrgb(138, 104, 211)
HSLhsl(259, 55%, 62%)
HSVhsv(259, 51%, 83%)
CMYKcmyk(34.6%, 50.7%, 0%, 17.3%)
CIE-LABlab(51.84, 37.00, -50.60)
CIE-LCHlch(51.84, 62.69, 306.18°)
OKLaboklab(60.01% 0.0695 -0.1429)
OKLCHoklch(60.01% 0.159 295.9)
XYZxyz(27.1864, 20.0066, 64.0447)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68D3 #B1D368
analogous
#687CD3 #8A68D3 #BF68D3
triadic
#8A68D3 #D38A68 #68D38A
tetradic
#8A68D3 #D3687C #B1D368 #68D3BF
square
#8A68D3 #D3687C #B1D368 #68D3BF
split-complementary
#8A68D3 #D3BF68 #7CD368
monochromatic
#4D2B95 #6639C5 #8A68D3 #AF97E1 #D3C7EF

Accessibility & contrast

On white

4.20
#8A68D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A68D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68D3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68D3#FFFFFF#000000##000000
##8A68D31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD7
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#797D94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a68d3;
/* rgb */ color: rgb(138, 104, 211);
/* oklch */ color: oklch(60.0% 0.159 295.9);
Tailwind
colors: {
  custom: {
    50: '#b094e1',
    500: '#8a68d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a68d3;
$custom-light: #b094e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68d3",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 211
  },
  "hsl": {
    "h": 259.065,
    "s": 54.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.15893,
    "h": 295.9
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#8A68D3
secondary
#D3DFB8
accent
#C22390
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A68D3

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

Preview Lab → · Contrast checker → · Palette generator →

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