#8A68F6#8A68F6

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

Color values

HEX#8A68F6
RGBrgb(138, 104, 246)
HSLhsl(254, 89%, 69%)
HSVhsv(254, 58%, 96%)
CMYKcmyk(43.9%, 57.7%, 0%, 3.5%)
CIE-LABlab(53.98, 46.42, -66.85)
CIE-LCHlch(53.98, 81.38, 304.78°)
OKLaboklab(62.27% 0.0704 -0.1907)
OKLCHoklch(62.27% 0.203 290.3)
XYZxyz(32.0614, 21.9566, 89.7197)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F6 #D4F668
analogous
#688DF6 #8A68F6 #D168F6
triadic
#8A68F6 #F68A68 #68F68A
tetradic
#8A68F6 #F6688D #D4F668 #68F6D1
square
#8A68F6 #F6688D #D4F668 #68F6D1
split-complementary
#8A68F6 #F6D168 #8DF668
monochromatic
#3D0DD7 #5D2EF3 #8A68F6 #B7A2F9 #E4DCFD

Accessibility & contrast

On white

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

On black

5.39
#8A68F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F6#FFFFFF#000000##000000
##8A68F61.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#087EF3
Tritanopia (blue-blind)
#6A88A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a68f6;
/* rgb */ color: rgb(138, 104, 246);
/* oklch */ color: oklch(62.3% 0.203 290.3);
Tailwind
colors: {
  custom: {
    50: '#b394fa',
    500: '#8a68f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f6;
$custom-light: #b394fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f6",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 254.366,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.20325,
    "h": 290.3
  },
  "luminance": 0.21958
}

Semantic roles & 50–950 ramp

primary
#8A68F6
secondary
#E8F2C8
accent
#E500AE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A68F6

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

Preview Lab → · Contrast checker → · Palette generator →

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