#8A6BF0#8A6BF0

#8A6BF0 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.3% C 0.192 H 290.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF0
RGBrgb(138, 107, 240)
HSLhsl(254, 82%, 68%)
HSVhsv(254, 55%, 94%)
CMYKcmyk(42.5%, 55.4%, 0%, 5.9%)
CIE-LABlab(54.25, 43.08, -63.07)
CIE-LCHlch(54.25, 76.38, 304.34°)
OKLaboklab(62.35% 0.0671 -0.1796)
OKLCHoklch(62.35% 0.192 290.5)
XYZxyz(31.4627, 22.2089, 85.0502)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF0 #D1F06B
analogous
#6B8EF0 #8A6BF0 #CC6BF0
triadic
#8A6BF0 #F08A6B #6BF08A
tetradic
#8A6BF0 #F06B8E #D1F06B #6BF0CC
square
#8A6BF0 #F06B8E #D1F06B #6BF0CC
split-complementary
#8A6BF0 #F0CC6B #8EF06B
monochromatic
#3F15CC #5E33EA #8A6BF0 #B6A3F6 #E2DAFB

Accessibility & contrast

On white

3.86
#8A6BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A6BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF0#FFFFFF#000000##000000
##8A6BF01.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#287FED
Tritanopia (blue-blind)
#6D88A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6bf0;
/* rgb */ color: rgb(138, 107, 240);
/* oklch */ color: oklch(62.3% 0.192 290.5);
Tailwind
colors: {
  custom: {
    50: '#b296f6',
    500: '#8a6bf0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf0;
$custom-light: #b296f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf0",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 253.985,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.19169,
    "h": 290.5
  },
  "luminance": 0.2221
}

Semantic roles & 50–950 ramp

primary
#8A6BF0
secondary
#E6F0C7
accent
#DE08AC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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