#6246CE#6246CE

#6246CE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.199 H 286.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6246CE
RGBrgb(98, 70, 206)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 66%, 81%)
CMYKcmyk(52.4%, 66%, 0%, 19.2%)
CIE-LABlab(40.30, 46.39, -66.55)
CIE-LCHlch(40.30, 81.12, 304.88°)
OKLaboklab(50.53% 0.056 -0.1911)
OKLCHoklch(50.53% 0.199 286.3)
XYZxyz(18.3644, 11.4323, 59.6195)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246CE #B2CE46
analogous
#466ECE #6246CE #A646CE
triadic
#6246CE #CE6246 #46CE62
tetradic
#6246CE #CE466E #B2CE46 #46CEA6
square
#6246CE #CE466E #B2CE46 #46CEA6
split-complementary
#6246CE #CEA646 #6ECE46
monochromatic
#332079 #472DAA #6246CE #8B76DB #B4A7E8

Accessibility & contrast

On white

6.39
#6246CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6246CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246CE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246CE#FFFFFF#000000##FFFFFF
##6246CE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#376884
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6246ce;
/* rgb */ color: rgb(98, 70, 206);
/* oklch */ color: oklch(50.5% 0.199 286.3);
Tailwind
colors: {
  custom: {
    50: '#987bde',
    500: '#6246ce',
    950: '#000000',
  },
}
SCSS
$custom: #6246ce;
$custom-light: #987bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6246ce",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 252.353,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.19912,
    "h": 286.3
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#6246CE
secondary
#C9D59B
accent
#E146C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6246CE

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

Preview Lab → · Contrast checker → · Palette generator →

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