#8A68F1#8A68F1

#8A68F1 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.197 H 291.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A68F1
RGBrgb(138, 104, 241)
HSLhsl(255, 83%, 68%)
HSVhsv(255, 57%, 95%)
CMYKcmyk(42.7%, 56.8%, 0%, 5.5%)
CIE-LABlab(53.66, 45.05, -64.58)
CIE-LCHlch(53.66, 78.74, 304.90°)
OKLaboklab(61.93% 0.0705 -0.184)
OKLCHoklch(61.93% 0.197 291)
XYZxyz(31.3043, 21.6538, 85.7322)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F1 #CFF168
analogous
#688AF1 #8A68F1 #CF68F1
triadic
#8A68F1 #F18A68 #68F18A
tetradic
#8A68F1 #F1688A #CFF168 #68F1CF
square
#8A68F1 #F1688A #CFF168 #68F1CF
split-complementary
#8A68F1 #F1CF68 #8AF168
monochromatic
#4113CC #5F30EC #8A68F1 #B5A0F6 #E1D8FB

Accessibility & contrast

On white

3.94
#8A68F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A68F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F1#FFFFFF#000000##000000
##8A68F11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E83F6
Deuteranopia (green-blind)
#1D7DEE
Tritanopia (blue-blind)
#6C86A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a68f1;
/* rgb */ color: rgb(138, 104, 241);
/* oklch */ color: oklch(61.9% 0.197 291.0);
Tailwind
colors: {
  custom: {
    50: '#b294f6',
    500: '#8a68f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f1;
$custom-light: #b294f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f1",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 241
  },
  "hsl": {
    "h": 254.891,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61933,
    "c": 0.19705,
    "h": 291
  },
  "luminance": 0.21655
}

Semantic roles & 50–950 ramp

primary
#8A68F1
secondary
#E5F0C5
accent
#DF06A9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68F1

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

Preview Lab → · Contrast checker → · Palette generator →

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