#8A6BF2#8A6BF2

#8A6BF2 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.5% C 0.194 H 290.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF2
RGBrgb(138, 107, 242)
HSLhsl(254, 84%, 68%)
HSVhsv(254, 56%, 95%)
CMYKcmyk(43%, 55.8%, 0%, 5.1%)
CIE-LABlab(54.37, 43.63, -63.99)
CIE-LCHlch(54.37, 77.45, 304.29°)
OKLaboklab(62.48% 0.0671 -0.1822)
OKLCHoklch(62.48% 0.194 290.2)
XYZxyz(31.7615, 22.3284, 86.6235)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF2 #D3F26B
analogous
#6B8FF2 #8A6BF2 #CD6BF2
triadic
#8A6BF2 #F28A6B #6BF28A
tetradic
#8A6BF2 #F26B8F #D3F26B #6BF2CD
square
#8A6BF2 #F26B8F #D3F26B #6BF2CD
split-complementary
#8A6BF2 #F2CD6B #8FF26B
monochromatic
#3E12D0 #5E33ED #8A6BF2 #B6A3F7 #E3DCFC

Accessibility & contrast

On white

3.84
#8A6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF2#FFFFFF#000000##000000
##8A6BF21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#247FEF
Tritanopia (blue-blind)
#6C88A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6bf2;
/* rgb */ color: rgb(138, 107, 242);
/* oklch */ color: oklch(62.5% 0.194 290.2);
Tailwind
colors: {
  custom: {
    50: '#b296f7',
    500: '#8a6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf2;
$custom-light: #b296f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf2",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 253.778,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62481,
    "c": 0.19421,
    "h": 290.2
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

primary
#8A6BF2
secondary
#E7F1C8
accent
#E005AE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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