#6246DC#6246DC

#6246DC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.216 H 284.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6246DC
RGBrgb(98, 70, 220)
HSLhsl(251, 68%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.44, 50.50, -72.73)
CIE-LCHlch(41.44, 88.54, 304.77°)
OKLaboklab(51.7% 0.054 -0.2092)
OKLCHoklch(51.7% 0.216 284.5)
XYZxyz(20.1415, 12.1431, 68.9788)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246DC #C0DC46
analogous
#4675DC #6246DC #AD46DC
triadic
#6246DC #DC6246 #46DC62
tetradic
#6246DC #DC4675 #C0DC46 #46DCAD
square
#6246DC #DC4675 #C0DC46 #46DCAD
split-complementary
#6246DC #DCAD46 #75DC46
monochromatic
#301B8D #4224C0 #6246DC #8E79E6 #B9ADEF

Accessibility & contrast

On white

6.12
#6246DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6246DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246DC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246DC#FFFFFF#000000##FFFFFF
##6246DC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#276D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6246dc;
/* rgb */ color: rgb(98, 70, 220);
/* oklch */ color: oklch(51.7% 0.216 284.5);
Tailwind
colors: {
  custom: {
    50: '#9a7ce8',
    500: '#6246dc',
    950: '#000000',
  },
}
SCSS
$custom: #6246dc;
$custom-light: #9a7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6246dc",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 251.2,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.21606,
    "h": 284.5
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#6246DC
secondary
#D2DDA0
accent
#EB3DCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6246DC

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

Preview Lab → · Contrast checker → · Palette generator →

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