#8A68ED#8A68ED

#8A68ED is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.192 H 291.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A68ED
RGBrgb(138, 104, 237)
HSLhsl(255, 79%, 67%)
HSVhsv(255, 56%, 93%)
CMYKcmyk(41.8%, 56.1%, 0%, 7.1%)
CIE-LABlab(53.40, 43.96, -62.76)
CIE-LCHlch(53.40, 76.62, 305.01°)
OKLaboklab(61.67% 0.0705 -0.1786)
OKLCHoklch(61.67% 0.192 291.5)
XYZxyz(30.7134, 21.4174, 82.6201)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68ED #CBED68
analogous
#6889ED #8A68ED #CC68ED
triadic
#8A68ED #ED8A68 #68ED8A
tetradic
#8A68ED #ED6889 #CBED68 #68EDCC
square
#8A68ED #ED6889 #CBED68 #68EDCC
split-complementary
#8A68ED #EDCC68 #89ED68
monochromatic
#4317C3 #6031E6 #8A68ED #B49FF4 #DFD5FA

Accessibility & contrast

On white

3.97
#8A68ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A68ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68ED
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68ED#FFFFFF#000000##000000
##8A68ED1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B82F1
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#6E85A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a68ed;
/* rgb */ color: rgb(138, 104, 237);
/* oklch */ color: oklch(61.7% 0.192 291.5);
Tailwind
colors: {
  custom: {
    50: '#b294f4',
    500: '#8a68ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a68ed;
$custom-light: #b294f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68ed",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 255.338,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.19205,
    "h": 291.5
  },
  "luminance": 0.21418
}

Semantic roles & 50–950 ramp

primary
#8A68ED
secondary
#E3EEC3
accent
#DB0BA6
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68ED

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

Preview Lab → · Contrast checker → · Palette generator →

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