#6246D8#6246D8

#6246D8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.211 H 285.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6246D8
RGBrgb(98, 70, 216)
HSLhsl(252, 65%, 56%)
HSVhsv(252, 68%, 85%)
CMYKcmyk(54.6%, 67.6%, 0%, 15.3%)
CIE-LABlab(41.11, 49.32, -70.98)
CIE-LCHlch(41.11, 86.44, 304.79°)
OKLaboklab(51.36% 0.0546 -0.2041)
OKLCHoklch(51.36% 0.211 285)
XYZxyz(19.6181, 11.9337, 66.2221)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246D8 #BCD846
analogous
#4673D8 #6246D8 #AB46D8
triadic
#6246D8 #D86246 #46D862
tetradic
#6246D8 #D84673 #BCD846 #46D8AB
square
#6246D8 #D84673 #BCD846 #46D8AB
split-complementary
#6246D8 #D8AB46 #73D846
monochromatic
#311C87 #4327BA #6246D8 #8D79E3 #B8ABED

Accessibility & contrast

On white

6.20
#6246D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6246D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246D8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246D8#FFFFFF#000000##FFFFFF
##6246D81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#2D6C89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6246d8;
/* rgb */ color: rgb(98, 70, 216);
/* oklch */ color: oklch(51.4% 0.211 285.0);
Tailwind
colors: {
  custom: {
    50: '#9a7ce5',
    500: '#6246d8',
    950: '#000000',
  },
}
SCSS
$custom: #6246d8;
$custom-light: #9a7ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6246d8",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 251.507,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.21127,
    "h": 285
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#6246D8
secondary
#CFDB9F
accent
#E840C8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6246D8

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

Preview Lab → · Contrast checker → · Palette generator →

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