#6247CC#6247CC

#6247CC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.195 H 286.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6247CC
RGBrgb(98, 71, 204)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52%, 65.2%, 0%, 20%)
CIE-LABlab(40.35, 45.24, -65.32)
CIE-LCHlch(40.35, 79.45, 304.71°)
OKLaboklab(50.51% 0.0553 -0.1874)
OKLCHoklch(50.51% 0.195 286.4)
XYZxyz(18.1861, 11.4619, 58.3691)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247CC #B1CC47
analogous
#476FCC #6247CC #A447CC
triadic
#6247CC #CC6247 #47CC62
tetradic
#6247CC #CC476F #B1CC47 #47CCA4
square
#6247CC #CC476F #B1CC47 #47CCA4
split-complementary
#6247CC #CCA447 #6FCC47
monochromatic
#332177 #472EA7 #6247CC #8B77D9 #B4A7E7

Accessibility & contrast

On white

6.38
#6247CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6247CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247CC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247CC#FFFFFF#000000##FFFFFF
##6247CC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6247cc;
/* rgb */ color: rgb(98, 71, 204);
/* oklch */ color: oklch(50.5% 0.195 286.4);
Tailwind
colors: {
  custom: {
    50: '#987cdd',
    500: '#6247cc',
    950: '#000000',
  },
}
SCSS
$custom: #6247cc;
$custom-light: #987cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6247cc",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 252.18,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.19544,
    "h": 286.4
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#6247CC
secondary
#C8D49B
accent
#E048C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6247CC

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

Preview Lab → · Contrast checker → · Palette generator →

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