#6246CC#6246CC

#6246CC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.197 H 286.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6246CC
RGBrgb(98, 70, 204)
HSLhsl(253, 57%, 54%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(52%, 65.7%, 0%, 20%)
CIE-LABlab(40.14, 45.80, -65.66)
CIE-LCHlch(40.14, 80.05, 304.90°)
OKLaboklab(50.36% 0.0563 -0.1884)
OKLCHoklch(50.36% 0.197 286.6)
XYZxyz(18.1230, 11.3357, 58.3481)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246CC #B0CC46
analogous
#466DCC #6246CC #A546CC
triadic
#6246CC #CC6246 #46CC62
tetradic
#6246CC #CC466D #B0CC46 #46CCA5
square
#6246CC #CC466D #B0CC46 #46CCA5
split-complementary
#6246CC #CCA546 #6DCC46
monochromatic
#332177 #472EA7 #6246CC #8B76D9 #B3A6E6

Accessibility & contrast

On white

6.43
#6246CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6246CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246CC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246CC#FFFFFF#000000##FFFFFF
##6246CC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#396783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6246cc;
/* rgb */ color: rgb(98, 70, 204);
/* oklch */ color: oklch(50.4% 0.197 286.6);
Tailwind
colors: {
  custom: {
    50: '#987bdd',
    500: '#6246cc',
    950: '#000000',
  },
}
SCSS
$custom: #6246cc;
$custom-light: #987bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6246cc",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 252.537,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.19667,
    "h": 286.6
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#6246CC
secondary
#C8D49A
accent
#E048C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6246CC

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

Preview Lab → · Contrast checker → · Palette generator →

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