#8A68CF#8A68CF

#8A68CF is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.8% C 0.154 H 296.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A68CF
RGBrgb(138, 104, 207)
HSLhsl(260, 52%, 61%)
HSVhsv(260, 50%, 81%)
CMYKcmyk(33.3%, 49.8%, 0%, 18.8%)
CIE-LABlab(51.62, 35.96, -48.68)
CIE-LCHlch(51.62, 60.52, 306.45°)
OKLaboklab(59.77% 0.0691 -0.1373)
OKLCHoklch(59.77% 0.154 296.7)
XYZxyz(26.6912, 19.8085, 61.4366)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68CF #ADCF68
analogous
#6879CF #8A68CF #BD68CF
triadic
#8A68CF #CF8A68 #68CF8A
tetradic
#8A68CF #CF6879 #ADCF68 #68CFBD
square
#8A68CF #CF6879 #ADCF68 #68CFBD
split-complementary
#8A68CF #CFBD68 #79CF68
monochromatic
#4E2D8F #673CBE #8A68CF #AE96DE #D2C5ED

Accessibility & contrast

On white

4.23
#8A68CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A68CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68CF#FFFFFF#000000##000000
##8A68CF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD3
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#7B7C92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a68cf;
/* rgb */ color: rgb(138, 104, 207);
/* oklch */ color: oklch(59.8% 0.154 296.7);
Tailwind
colors: {
  custom: {
    50: '#af94de',
    500: '#8a68cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a68cf;
$custom-light: #af94de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68cf",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 259.806,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.15373,
    "h": 296.7
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#8A68CF
secondary
#D0DDB6
accent
#BF268D
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A68CF

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

Preview Lab → · Contrast checker → · Palette generator →

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