#8A68F0#8A68F0

#8A68F0 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.196 H 291.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A68F0
RGBrgb(138, 104, 240)
HSLhsl(255, 82%, 67%)
HSVhsv(255, 57%, 94%)
CMYKcmyk(42.5%, 56.7%, 0%, 5.9%)
CIE-LABlab(53.59, 44.77, -64.13)
CIE-LCHlch(53.59, 78.21, 304.92°)
OKLaboklab(61.87% 0.0705 -0.1827)
OKLCHoklch(61.87% 0.196 291.1)
XYZxyz(31.1554, 21.5942, 84.9477)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F0 #CEF068
analogous
#688AF0 #8A68F0 #CE68F0
triadic
#8A68F0 #F08A68 #68F08A
tetradic
#8A68F0 #F0688A #CEF068 #68F0CE
square
#8A68F0 #F0688A #CEF068 #68F0CE
split-complementary
#8A68F0 #F0CE68 #8AF068
monochromatic
#4114CA #5F30EA #8A68F0 #B5A0F6 #E0D7FB

Accessibility & contrast

On white

3.95
#8A68F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A68F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F0#FFFFFF#000000##000000
##8A68F01.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F5
Deuteranopia (green-blind)
#1F7DED
Tritanopia (blue-blind)
#6D86A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a68f0;
/* rgb */ color: rgb(138, 104, 240);
/* oklch */ color: oklch(61.9% 0.196 291.1);
Tailwind
colors: {
  custom: {
    50: '#b294f6',
    500: '#8a68f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f0;
$custom-light: #b294f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f0",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 255,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.1958,
    "h": 291.1
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#8A68F0
secondary
#E5EFC5
accent
#DE07A9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68F0

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

Preview Lab → · Contrast checker → · Palette generator →

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