#8A6EF2#8A6EF2

#8A6EF2 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.0% C 0.190 H 289.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF2
RGBrgb(138, 110, 242)
HSLhsl(253, 84%, 69%)
HSVhsv(253, 55%, 95%)
CMYKcmyk(43%, 54.5%, 0%, 5.1%)
CIE-LABlab(55.04, 41.93, -62.92)
CIE-LCHlch(55.04, 75.61, 303.68°)
OKLaboklab(62.97% 0.0637 -0.1791)
OKLCHoklch(62.97% 0.19 289.6)
XYZxyz(32.0797, 22.9648, 86.7296)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF2 #D6F26E
analogous
#6E94F2 #8A6EF2 #CC6EF2
triadic
#8A6EF2 #F28A6E #6EF28A
tetradic
#8A6EF2 #F26E94 #D6F26E #6EF2CC
square
#8A6EF2 #F26E94 #D6F26E #6EF2CC
split-complementary
#8A6EF2 #F2CC6E #94F26E
monochromatic
#3C13D3 #5D36ED #8A6EF2 #B7A6F7 #E5DEFC

Accessibility & contrast

On white

3.75
#8A6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF2#FFFFFF#000000##000000
##8A6EF21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#2C81EF
Tritanopia (blue-blind)
#6B8BA6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ef2;
/* rgb */ color: rgb(138, 110, 242);
/* oklch */ color: oklch(63.0% 0.190 289.6);
Tailwind
colors: {
  custom: {
    50: '#b298f7',
    500: '#8a6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef2;
$custom-light: #b298f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef2",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 252.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.19009,
    "h": 289.6
  },
  "luminance": 0.22966
}

Semantic roles & 50–950 ramp

primary
#8A6EF2
secondary
#E9F1CB
accent
#E006B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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