#8A68CD#8A68CD

#8A68CD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.7% C 0.151 H 297.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A68CD
RGBrgb(138, 104, 205)
HSLhsl(260, 50%, 61%)
HSVhsv(260, 49%, 80%)
CMYKcmyk(32.7%, 49.3%, 0%, 19.6%)
CIE-LABlab(51.51, 35.44, -47.72)
CIE-LCHlch(51.51, 59.44, 306.60°)
OKLaboklab(59.65% 0.0689 -0.1345)
OKLCHoklch(59.65% 0.151 297.1)
XYZxyz(26.4483, 19.7113, 60.1570)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68CD #ABCD68
analogous
#6878CD #8A68CD #BC68CD
triadic
#8A68CD #CD8A68 #68CD8A
tetradic
#8A68CD #CD6878 #ABCD68 #68CDBC
square
#8A68CD #CD6878 #ABCD68 #68CDBC
split-complementary
#8A68CD #CDBC68 #78CD68
monochromatic
#4E2E8C #683EBA #8A68CD #AE96DC #D1C4EB

Accessibility & contrast

On white

4.25
#8A68CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A68CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68CD#FFFFFF#000000##000000
##8A68CD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#7B7B91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a68cd;
/* rgb */ color: rgb(138, 104, 205);
/* oklch */ color: oklch(59.7% 0.151 297.1);
Tailwind
colors: {
  custom: {
    50: '#af94dd',
    500: '#8a68cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a68cd;
$custom-light: #af94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68cd",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 260.198,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.15113,
    "h": 297.1
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#8A68CD
secondary
#CFDCB5
accent
#BE288B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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