#8A68BE#8A68BE

#8A68BE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.8% C 0.131 H 300.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A68BE
RGBrgb(138, 104, 190)
HSLhsl(264, 40%, 58%)
HSVhsv(264, 45%, 75%)
CMYKcmyk(27.4%, 45.3%, 0%, 25.5%)
CIE-LABlab(50.71, 31.62, -40.38)
CIE-LCHlch(50.71, 51.28, 308.07°)
OKLaboklab(58.79% 0.0671 -0.1131)
OKLCHoklch(58.79% 0.131 300.7)
XYZxyz(24.7237, 19.0215, 51.0742)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68BE #9CBE68
analogous
#6871BE #8A68BE #B568BE
triadic
#8A68BE #BE8A68 #68BE8A
tetradic
#8A68BE #BE6871 #9CBE68 #68BEB5
square
#8A68BE #BE6871 #9CBE68 #68BEB5
split-complementary
#8A68BE #BEB568 #71BE68
monochromatic
#4F3478 #6B46A3 #8A68BE #AB93D0 #CCBEE3

Accessibility & contrast

On white

4.37
#8A68BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A68BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68BE#FFFFFF#000000##000000
##8A68BE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C1
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#80778A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a68be;
/* rgb */ color: rgb(138, 104, 190);
/* oklch */ color: oklch(58.8% 0.131 300.7);
Tailwind
colors: {
  custom: {
    50: '#ae94d2',
    500: '#8a68be',
    950: '#000000',
  },
}
SCSS
$custom: #8a68be;
$custom-light: #ae94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68be",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 190
  },
  "hsl": {
    "h": 263.721,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.13148,
    "h": 300.7
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#8A68BE
secondary
#C5D2B0
accent
#D058A0
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A68BE

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

Preview Lab → · Contrast checker → · Palette generator →

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