#8A68BF#8A68BF

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

Color values

HEX#8A68BF
RGBrgb(138, 104, 191)
HSLhsl(263, 40%, 58%)
HSVhsv(263, 46%, 75%)
CMYKcmyk(27.7%, 45.5%, 0%, 25.1%)
CIE-LABlab(50.76, 31.87, -40.87)
CIE-LCHlch(50.76, 51.83, 307.95°)
OKLaboklab(58.85% 0.0672 -0.1145)
OKLCHoklch(58.85% 0.133 300.4)
XYZxyz(24.8334, 19.0654, 51.6518)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68BF #9DBF68
analogous
#6872BF #8A68BF #B568BF
triadic
#8A68BF #BF8A68 #68BF8A
tetradic
#8A68BF #BF6872 #9DBF68 #68BFB5
square
#8A68BF #BF6872 #9DBF68 #68BFB5
split-complementary
#8A68BF #BFB568 #72BF68
monochromatic
#4F3379 #6B46A4 #8A68BF #AB93D1 #CDBEE3

Accessibility & contrast

On white

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

On black

4.81
#8A68BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68BF#FFFFFF#000000##000000
##8A68BF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#80778A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a68bf;
/* rgb */ color: rgb(138, 104, 191);
/* oklch */ color: oklch(58.9% 0.133 300.4);
Tailwind
colors: {
  custom: {
    50: '#ae94d3',
    500: '#8a68bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a68bf;
$custom-light: #ae94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68bf",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 263.448,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.13279,
    "h": 300.4
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#8A68BF
secondary
#C5D3B0
accent
#D057A1
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A68BF

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

Preview Lab → · Contrast checker → · Palette generator →

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