#8A6DF1#8A6DF1

#8A6DF1 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.7% C 0.190 H 289.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF1
RGBrgb(138, 109, 241)
HSLhsl(253, 83%, 69%)
HSVhsv(253, 55%, 95%)
CMYKcmyk(42.7%, 54.8%, 0%, 5.5%)
CIE-LABlab(54.75, 42.23, -62.82)
CIE-LCHlch(54.75, 75.69, 303.91°)
OKLaboklab(62.74% 0.0648 -0.1788)
OKLCHoklch(62.74% 0.19 289.9)
XYZxyz(31.8226, 22.6903, 85.9050)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF1 #D4F16D
analogous
#6D92F1 #8A6DF1 #CC6DF1
triadic
#8A6DF1 #F18A6D #6DF18A
tetradic
#8A6DF1 #F16D92 #D4F16D #6DF1CC
square
#8A6DF1 #F16D92 #D4F16D #6DF1CC
split-complementary
#8A6DF1 #F1CC6D #92F16D
monochromatic
#3D14D0 #5D35EC #8A6DF1 #B7A5F6 #E4DDFC

Accessibility & contrast

On white

3.79
#8A6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF1#FFFFFF#000000##000000
##8A6DF11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F5
Deuteranopia (green-blind)
#2B80EE
Tritanopia (blue-blind)
#6C8AA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6df1;
/* rgb */ color: rgb(138, 109, 241);
/* oklch */ color: oklch(62.7% 0.190 289.9);
Tailwind
colors: {
  custom: {
    50: '#b297f6',
    500: '#8a6df1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df1;
$custom-light: #b297f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df1",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 253.182,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62741,
    "c": 0.1902,
    "h": 289.9
  },
  "luminance": 0.22691
}

Semantic roles & 50–950 ramp

primary
#8A6DF1
secondary
#E8F1C9
accent
#DF07AF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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