#8A68C2#8A68C2

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

Color values

HEX#8A68C2
RGBrgb(138, 104, 194)
HSLhsl(263, 42%, 58%)
HSVhsv(263, 46%, 76%)
CMYKcmyk(28.9%, 46.4%, 0%, 23.9%)
CIE-LABlab(50.92, 32.63, -42.35)
CIE-LCHlch(50.92, 53.46, 307.61°)
OKLaboklab(59.02% 0.0676 -0.1188)
OKLCHoklch(59.02% 0.137 299.6)
XYZxyz(25.1669, 19.1988, 53.4083)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68C2 #A0C268
analogous
#6873C2 #8A68C2 #B768C2
triadic
#8A68C2 #C28A68 #68C28A
tetradic
#8A68C2 #C26873 #A0C268 #68C2B7
square
#8A68C2 #C26873 #A0C268 #68C2B7
split-complementary
#8A68C2 #C2B768 #73C268
monochromatic
#4F337D #6A44A9 #8A68C2 #AC94D4 #CEBFE5

Accessibility & contrast

On white

4.34
#8A68C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A68C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68C2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68C2#FFFFFF#000000##000000
##8A68C21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#5479C0
Tritanopia (blue-blind)
#7F788C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a68c2;
/* rgb */ color: rgb(138, 104, 194);
/* oklch */ color: oklch(59.0% 0.137 299.6);
Tailwind
colors: {
  custom: {
    50: '#ae94d5',
    500: '#8a68c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a68c2;
$custom-light: #ae94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68c2",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 194
  },
  "hsl": {
    "h": 262.667,
    "s": 42.453,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.13674,
    "h": 299.6
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#8A68C2
secondary
#C7D5B1
accent
#D256A3
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A68C2

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

Preview Lab → · Contrast checker → · Palette generator →

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