#8A68EF#8A68EF

#8A68EF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.195 H 291.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A68EF
RGBrgb(138, 104, 239)
HSLhsl(255, 81%, 67%)
HSVhsv(255, 56%, 94%)
CMYKcmyk(42.3%, 56.5%, 0%, 6.3%)
CIE-LABlab(53.53, 44.50, -63.67)
CIE-LCHlch(53.53, 77.68, 304.95°)
OKLaboklab(61.8% 0.0705 -0.1813)
OKLCHoklch(61.8% 0.195 291.2)
XYZxyz(31.0072, 21.5349, 84.1676)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68EF #CDEF68
analogous
#688AEF #8A68EF #CD68EF
triadic
#8A68EF #EF8A68 #68EF8A
tetradic
#8A68EF #EF688A #CDEF68 #68EFCD
square
#8A68EF #EF688A #CDEF68 #68EFCD
split-complementary
#8A68EF #EFCD68 #8AEF68
monochromatic
#4215C7 #5F31E9 #8A68EF #B59FF5 #E0D7FB

Accessibility & contrast

On white

3.96
#8A68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8A68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68EF#FFFFFF#000000##000000
##8A68EF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F3
Deuteranopia (green-blind)
#227DEC
Tritanopia (blue-blind)
#6D85A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a68ef;
/* rgb */ color: rgb(138, 104, 239);
/* oklch */ color: oklch(61.8% 0.195 291.2);
Tailwind
colors: {
  custom: {
    50: '#b294f5',
    500: '#8a68ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a68ef;
$custom-light: #b294f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68ef",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 255.111,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.19455,
    "h": 291.2
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#8A68EF
secondary
#E4EFC4
accent
#DD08A8
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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