#8A68CA#8A68CA

#8A68CA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.5% C 0.147 H 297.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A68CA
RGBrgb(138, 104, 202)
HSLhsl(261, 48%, 60%)
HSVhsv(261, 49%, 79%)
CMYKcmyk(31.7%, 48.5%, 0%, 20.8%)
CIE-LABlab(51.35, 34.67, -46.26)
CIE-LCHlch(51.35, 57.81, 306.85°)
OKLaboklab(59.47% 0.0686 -0.1303)
OKLCHoklch(59.47% 0.147 297.8)
XYZxyz(26.0896, 19.5679, 58.2681)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68CA #A8CA68
analogous
#6877CA #8A68CA #BB68CA
triadic
#8A68CA #CA8A68 #68CA8A
tetradic
#8A68CA #CA6877 #A8CA68 #68CABB
square
#8A68CA #CA6877 #A8CA68 #68CABB
split-complementary
#8A68CA #CABB68 #77CA68
monochromatic
#4E3088 #6840B5 #8A68CA #AD95DA #D0C3EA

Accessibility & contrast

On white

4.27
#8A68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68CA#FFFFFF#000000##000000
##8A68CA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCD
Deuteranopia (green-blind)
#4F79C8
Tritanopia (blue-blind)
#7C7A8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a68ca;
/* rgb */ color: rgb(138, 104, 202);
/* oklch */ color: oklch(59.5% 0.147 297.8);
Tailwind
colors: {
  custom: {
    50: '#af94da',
    500: '#8a68ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a68ca;
$custom-light: #af94da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68ca",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 260.816,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.14722,
    "h": 297.8
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#8A68CA
secondary
#CDDAB4
accent
#D850A9
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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