#8A68FA#8A68FA

#8A68FA is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.5% C 0.208 H 289.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A68FA
RGBrgb(138, 104, 250)
HSLhsl(254, 94%, 69%)
HSVhsv(254, 58%, 98%)
CMYKcmyk(44.8%, 58.4%, 0%, 2%)
CIE-LABlab(54.24, 47.51, -68.64)
CIE-LCHlch(54.24, 83.48, 304.69°)
OKLaboklab(62.55% 0.0703 -0.196)
OKLCHoklch(62.55% 0.208 289.7)
XYZxyz(32.6820, 22.2048, 92.9879)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68FA #D8FA68
analogous
#688FFA #8A68FA #D368FA
triadic
#8A68FA #FA8A68 #68FA8A
tetradic
#8A68FA #FA688F #D8FA68 #68FAD3
square
#8A68FA #FA688F #D8FA68 #68FAD3
split-complementary
#8A68FA #FAD368 #8FFA68
monochromatic
#3A07E0 #5C2DF8 #8A68FA #B8A3FC #E6DEFE

Accessibility & contrast

On white

3.86
#8A68FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A68FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68FA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68FA#FFFFFF#000000##000000
##8A68FA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#6889A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a68fa;
/* rgb */ color: rgb(138, 104, 250);
/* oklch */ color: oklch(62.5% 0.208 289.7);
Tailwind
colors: {
  custom: {
    50: '#b394fd',
    500: '#8a68fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a68fa;
$custom-light: #b394fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68fa",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 253.973,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.20818,
    "h": 289.7
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#8A68FA
secondary
#EAF4CA
accent
#E600B0
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A68FA

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

Preview Lab → · Contrast checker → · Palette generator →

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