#8A68FE#8A68FE

#8A68FE is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 62.8% C 0.213 H 289.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A68FE
RGBrgb(138, 104, 254)
HSLhsl(254, 99%, 70%)
HSVhsv(254, 59%, 100%)
CMYKcmyk(45.7%, 59.1%, 0%, 0.4%)
CIE-LABlab(54.51, 48.62, -70.43)
CIE-LCHlch(54.51, 85.58, 304.62°)
OKLaboklab(62.83% 0.0702 -0.2012)
OKLCHoklch(62.83% 0.213 289.2)
XYZxyz(33.3158, 22.4584, 96.3262)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68FE #DCFE68
analogous
#6891FE #8A68FE #D568FE
triadic
#8A68FE #FE8A68 #68FE8A
tetradic
#8A68FE #FE6891 #DCFE68 #68FED5
square
#8A68FE #FE6891 #DCFE68 #68FED5
split-complementary
#8A68FE #FED568 #91FE68
monochromatic
#3602EA #5B2BFE #8A68FE #B9A5FE #E7E1FF

Accessibility & contrast

On white

3.82
#8A68FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A68FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68FE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68FE#FFFFFF#000000##000000
##8A68FE1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#658AA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a68fe;
/* rgb */ color: rgb(138, 104, 254);
/* oklch */ color: oklch(62.8% 0.213 289.2);
Tailwind
colors: {
  custom: {
    50: '#b494ff',
    500: '#8a68fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a68fe;
$custom-light: #b494ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68fe",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 253.6,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6283,
    "c": 0.21309,
    "h": 289.2
  },
  "luminance": 0.2246
}

Semantic roles & 50–950 ramp

primary
#8A68FE
secondary
#ECF6CC
accent
#E600B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A68FE

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

Preview Lab → · Contrast checker → · Palette generator →

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