#8A6DF2#8A6DF2

#8A6DF2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.191 H 289.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF2
RGBrgb(138, 109, 242)
HSLhsl(253, 84%, 69%)
HSVhsv(253, 55%, 95%)
CMYKcmyk(43%, 55%, 0%, 5.1%)
CIE-LABlab(54.81, 42.50, -63.28)
CIE-LCHlch(54.81, 76.23, 303.89°)
OKLaboklab(62.81% 0.0648 -0.1802)
OKLCHoklch(62.81% 0.191 289.8)
XYZxyz(31.9724, 22.7503, 86.6938)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF2 #D5F26D
analogous
#6D93F2 #8A6DF2 #CD6DF2
triadic
#8A6DF2 #F28A6D #6DF28A
tetradic
#8A6DF2 #F26D93 #D5F26D #6DF2CD
square
#8A6DF2 #F26D93 #D5F26D #6DF2CD
split-complementary
#8A6DF2 #F2CD6D #93F26D
monochromatic
#3C13D2 #5D35ED #8A6DF2 #B7A5F7 #E4DDFC

Accessibility & contrast

On white

3.78
#8A6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF2#FFFFFF#000000##000000
##8A6DF21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2486F6
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#6C8AA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6df2;
/* rgb */ color: rgb(138, 109, 242);
/* oklch */ color: oklch(62.8% 0.191 289.8);
Tailwind
colors: {
  custom: {
    50: '#b297f7',
    500: '#8a6df2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df2;
$custom-light: #b297f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df2",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 253.083,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62807,
    "c": 0.19146,
    "h": 289.8
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#8A6DF2
secondary
#E8F1CA
accent
#E005B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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