#8A68F7#8A68F7

#8A68F7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.3% C 0.204 H 290.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A68F7
RGBrgb(138, 104, 247)
HSLhsl(254, 90%, 69%)
HSVhsv(254, 58%, 97%)
CMYKcmyk(44.1%, 57.9%, 0%, 3.1%)
CIE-LABlab(54.05, 46.69, -67.30)
CIE-LCHlch(54.05, 81.91, 304.75°)
OKLaboklab(62.34% 0.0704 -0.192)
OKLCHoklch(62.34% 0.204 290.1)
XYZxyz(32.2153, 22.0182, 90.5302)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F7 #D5F768
analogous
#688EF7 #8A68F7 #D268F7
triadic
#8A68F7 #F78A68 #68F78A
tetradic
#8A68F7 #F7688E #D5F768 #68F7D2
square
#8A68F7 #F7688E #D5F768 #68F7D2
split-complementary
#8A68F7 #F7D268 #8EF768
monochromatic
#3C0CD9 #5D2EF4 #8A68F7 #B7A2FA #E4DCFD

Accessibility & contrast

On white

3.89
#8A68F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A68F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F7#FFFFFF#000000##000000
##8A68F71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#027EF4
Tritanopia (blue-blind)
#6988A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a68f7;
/* rgb */ color: rgb(138, 104, 247);
/* oklch */ color: oklch(62.3% 0.204 290.1);
Tailwind
colors: {
  custom: {
    50: '#b394fb',
    500: '#8a68f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f7;
$custom-light: #b394fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f7",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 254.266,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.20449,
    "h": 290.1
  },
  "luminance": 0.22019
}

Semantic roles & 50–950 ramp

primary
#8A68F7
secondary
#E8F3C8
accent
#E600AF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A68F7

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

Preview Lab → · Contrast checker → · Palette generator →

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