#8E6DA2#8E6DA2

#8E6DA2 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.7% C 0.087 H 312.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E6DA2
RGBrgb(142, 109, 162)
HSLhsl(277, 22%, 53%)
HSVhsv(277, 33%, 64%)
CMYKcmyk(12.3%, 32.7%, 0%, 36.5%)
CIE-LABlab(51.03, 23.29, -23.59)
CIE-LCHlch(51.03, 33.15, 314.64°)
OKLaboklab(58.71% 0.0587 -0.0647)
OKLCHoklch(58.71% 0.087 312.2)
XYZxyz(23.1445, 19.2970, 36.6809)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6DA2 #81A26D
analogous
#736DA2 #8E6DA2 #A26D9C
triadic
#8E6DA2 #A28E6D #6DA28E
tetradic
#8E6DA2 #A2736D #81A26D #6D9CA2
square
#8E6DA2 #A2736D #81A26D #6D9CA2
split-complementary
#8E6DA2 #9CA26D #6DA273
monochromatic
#4E3A5B #6F5280 #8E6DA2 #AB92BA #C8B8D2

Accessibility & contrast

On white

4.32
#8E6DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8E6DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6DA2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6DA2#FFFFFF#000000##000000
##8E6DA21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#6C7AA0
Tritanopia (blue-blind)
#8C7480
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e6da2;
/* rgb */ color: rgb(142, 109, 162);
/* oklch */ color: oklch(58.7% 0.087 312.2);
Tailwind
colors: {
  custom: {
    50: '#af97bd',
    500: '#8e6da2',
    950: '#000000',
  },
}
SCSS
$custom: #8e6da2;
$custom-light: #af97bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6da2",
  "rgb": {
    "r": 142,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 277.358,
    "s": 22.176,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.08734,
    "h": 312.2
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#8E6DA2
secondary
#B3C1AA
accent
#BF6989
background
#FAF9FB
surface
#F5F2F6
border
#CFCCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8E6DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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