#8A68C0#8A68C0

#8A68C0 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 58.9% C 0.134 H 300.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A68C0
RGBrgb(138, 104, 192)
HSLhsl(263, 41%, 58%)
HSVhsv(263, 46%, 75%)
CMYKcmyk(28.1%, 45.8%, 0%, 24.7%)
CIE-LABlab(50.82, 32.12, -41.37)
CIE-LCHlch(50.82, 52.37, 307.83°)
OKLaboklab(58.9% 0.0674 -0.116)
OKLCHoklch(58.9% 0.134 300.1)
XYZxyz(24.9438, 19.1095, 52.2333)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68C0 #9EC068
analogous
#6872C0 #8A68C0 #B668C0
triadic
#8A68C0 #C08A68 #68C08A
tetradic
#8A68C0 #C06872 #9EC068 #68C0B6
square
#8A68C0 #C06872 #9EC068 #68C0B6
split-complementary
#8A68C0 #C0B668 #72C068
monochromatic
#4F337A #6A45A6 #8A68C0 #AB93D2 #CDBEE4

Accessibility & contrast

On white

4.36
#8A68C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A68C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68C0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68C0#FFFFFF#000000##000000
##8A68C01.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C3
Deuteranopia (green-blind)
#5678BE
Tritanopia (blue-blind)
#80788B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a68c0;
/* rgb */ color: rgb(138, 104, 192);
/* oklch */ color: oklch(58.9% 0.134 300.1);
Tailwind
colors: {
  custom: {
    50: '#ae94d3',
    500: '#8a68c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a68c0;
$custom-light: #ae94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68c0",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 192
  },
  "hsl": {
    "h": 263.182,
    "s": 41.121,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.13411,
    "h": 300.1
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#8A68C0
secondary
#C6D3B0
accent
#D157A2
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8A68C0

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

Preview Lab → · Contrast checker → · Palette generator →

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