#8A68C1#8A68C1

#8A68C1 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.0% C 0.135 H 299.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A68C1
RGBrgb(138, 104, 193)
HSLhsl(263, 42%, 58%)
HSVhsv(263, 46%, 76%)
CMYKcmyk(28.5%, 46.1%, 0%, 24.3%)
CIE-LABlab(50.87, 32.37, -41.86)
CIE-LCHlch(50.87, 52.92, 307.72°)
OKLaboklab(58.96% 0.0675 -0.1174)
OKLCHoklch(58.96% 0.135 299.9)
XYZxyz(25.0550, 19.1540, 52.8188)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68C1 #9FC168
analogous
#6872C1 #8A68C1 #B668C1
triadic
#8A68C1 #C18A68 #68C18A
tetradic
#8A68C1 #C16872 #9FC168 #68C1B6
square
#8A68C1 #C16872 #9FC168 #68C1B6
split-complementary
#8A68C1 #C1B668 #72C168
monochromatic
#4F337C #6A45A7 #8A68C1 #AC93D3 #CDBFE5

Accessibility & contrast

On white

4.35
#8A68C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A68C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68C1#FFFFFF#000000##000000
##8A68C11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C4
Deuteranopia (green-blind)
#5579BF
Tritanopia (blue-blind)
#7F788B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a68c1;
/* rgb */ color: rgb(138, 104, 193);
/* oklch */ color: oklch(59.0% 0.135 299.9);
Tailwind
colors: {
  custom: {
    50: '#ae94d4',
    500: '#8a68c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a68c1;
$custom-light: #ae94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68c1",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 193
  },
  "hsl": {
    "h": 262.921,
    "s": 41.784,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.13543,
    "h": 299.9
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#8A68C1
secondary
#C7D4B1
accent
#D256A2
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8A68C1

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

Preview Lab → · Contrast checker → · Palette generator →

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