#8246C5#8246C5

#8246C5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 302.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8246C5
RGBrgb(130, 70, 197)
HSLhsl(268, 52%, 52%)
HSVhsv(268, 64%, 77%)
CMYKcmyk(34%, 64.5%, 0%, 22.7%)
CIE-LABlab(43.00, 50.21, -56.80)
CIE-LCHlch(43.00, 75.81, 311.48°)
OKLaboklab(53.04% 0.1008 -0.1614)
OKLCHoklch(53.04% 0.19 302)
XYZxyz(21.4717, 13.1573, 54.2209)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8246C5 #89C546
analogous
#464AC5 #8246C5 #C146C5
triadic
#8246C5 #C58246 #46C582
tetradic
#8246C5 #C5464A #89C546 #46C5C1
square
#8246C5 #C5464A #89C546 #46C5C1
split-complementary
#8246C5 #C5C146 #4AC546
monochromatic
#46236E #64319D #8246C5 #A175D4 #C1A3E2

Accessibility & contrast

On white

5.78
#8246C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8246C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8246C5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8246C5#FFFFFF#000000##FFFFFF
##8246C51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#1565C2
Tritanopia (blue-blind)
#74627F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8246c5;
/* rgb */ color: rgb(130, 70, 197);
/* oklch */ color: oklch(53.0% 0.190 302.0);
Tailwind
colors: {
  custom: {
    50: '#ab7dd7',
    500: '#8246c5',
    950: '#000000',
  },
}
SCSS
$custom: #8246c5;
$custom-light: #ab7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8246c5",
  "rgb": {
    "r": 130,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 268.346,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.19023,
    "h": 302
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#8246C5
secondary
#B5CF98
accent
#DC4C98
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8246C5

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

Preview Lab → · Contrast checker → · Palette generator →

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