#8A68F8#8A68F8

#8A68F8 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.4% C 0.206 H 290.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A68F8
RGBrgb(138, 104, 248)
HSLhsl(254, 91%, 69%)
HSVhsv(254, 58%, 97%)
CMYKcmyk(44.4%, 58.1%, 0%, 2.7%)
CIE-LABlab(54.11, 46.96, -67.75)
CIE-LCHlch(54.11, 82.43, 304.73°)
OKLaboklab(62.41% 0.0704 -0.1933)
OKLCHoklch(62.41% 0.206 290)
XYZxyz(32.3701, 22.0801, 91.3451)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F8 #D6F868
analogous
#688EF8 #8A68F8 #D268F8
triadic
#8A68F8 #F88A68 #68F88A
tetradic
#8A68F8 #F8688E #D6F868 #68F8D2
square
#8A68F8 #F8688E #D6F868 #68F8D2
split-complementary
#8A68F8 #F8D268 #8EF868
monochromatic
#3C0ADB #5D2EF5 #8A68F8 #B7A2FB #E5DDFD

Accessibility & contrast

On white

3.88
#8A68F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A68F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F8#FFFFFF#000000##000000
##8A68F81.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#6988A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a68f8;
/* rgb */ color: rgb(138, 104, 248);
/* oklch */ color: oklch(62.4% 0.206 290.0);
Tailwind
colors: {
  custom: {
    50: '#b394fb',
    500: '#8a68f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f8;
$custom-light: #b394fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f8",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 254.167,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.20572,
    "h": 290
  },
  "luminance": 0.22081
}

Semantic roles & 50–950 ramp

primary
#8A68F8
secondary
#E9F3C9
accent
#E600AF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A68F8

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

Preview Lab → · Contrast checker → · Palette generator →

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