#8246C2#8246C2

#8246C2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.187 H 302.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8246C2
RGBrgb(130, 70, 194)
HSLhsl(269, 50%, 52%)
HSVhsv(269, 64%, 76%)
CMYKcmyk(33%, 63.9%, 0%, 23.9%)
CIE-LABlab(42.80, 49.47, -55.39)
CIE-LCHlch(42.80, 74.27, 311.77°)
OKLaboklab(52.83% 0.101 -0.1572)
OKLCHoklch(52.83% 0.187 302.7)
XYZxyz(21.1314, 13.0212, 52.4285)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8246C2 #86C246
analogous
#4648C2 #8246C2 #C046C2
triadic
#8246C2 #C28246 #46C282
tetradic
#8246C2 #C24648 #86C246 #46C2C0
square
#8246C2 #C24648 #86C246 #46C2C0
split-complementary
#8246C2 #C2C046 #48C246
monochromatic
#46236A #643299 #8246C2 #A174D1 #C0A2E0

Accessibility & contrast

On white

5.83
#8246C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8246C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8246C2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8246C2#FFFFFF#000000##FFFFFF
##8246C21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1C65BF
Tritanopia (blue-blind)
#75617E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8246c2;
/* rgb */ color: rgb(130, 70, 194);
/* oklch */ color: oklch(52.8% 0.187 302.7);
Tailwind
colors: {
  custom: {
    50: '#ab7dd5',
    500: '#8246c2',
    950: '#000000',
  },
}
SCSS
$custom: #8246c2;
$custom-light: #ab7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8246c2",
  "rgb": {
    "r": 130,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 269.032,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5283,
    "c": 0.18684,
    "h": 302.7
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#8246C2
secondary
#B3CD97
accent
#DA4E96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8246C2

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

Preview Lab → · Contrast checker → · Palette generator →

#8246C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva