#6246CA#6246CA

#6246CA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.194 H 286.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6246CA
RGBrgb(98, 70, 202)
HSLhsl(253, 55%, 53%)
HSVhsv(253, 65%, 79%)
CMYKcmyk(51.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.98, 45.21, -64.75)
CIE-LCHlch(39.98, 78.98, 304.92°)
OKLaboklab(50.2% 0.0565 -0.1858)
OKLCHoklch(50.2% 0.194 286.9)
XYZxyz(17.8847, 11.2404, 57.0929)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246CA #AECA46
analogous
#466CCA #6246CA #A446CA
triadic
#6246CA #CA6246 #46CA62
tetradic
#6246CA #CA466C #AECA46 #46CAA4
square
#6246CA #CA466C #AECA46 #46CAA4
split-complementary
#6246CA #CAA446 #6CCA46
monochromatic
#332174 #482FA4 #6246CA #8A76D8 #B3A5E5

Accessibility & contrast

On white

6.47
#6246CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6246CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246CA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246CA#FFFFFF#000000##FFFFFF
##6246CA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#3B6782
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6246ca;
/* rgb */ color: rgb(98, 70, 202);
/* oklch */ color: oklch(50.2% 0.194 286.9);
Tailwind
colors: {
  custom: {
    50: '#987bdb',
    500: '#6246ca',
    950: '#000000',
  },
}
SCSS
$custom: #6246ca;
$custom-light: #987bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6246ca",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 252.727,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.19421,
    "h": 286.9
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#6246CA
secondary
#C6D29A
accent
#DF49BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6246CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6246CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva