#6247CF#6247CF

#6247CF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.199 H 286.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6247CF
RGBrgb(98, 71, 207)
HSLhsl(252, 59%, 55%)
HSVhsv(252, 66%, 81%)
CMYKcmyk(52.7%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.58, 46.12, -66.67)
CIE-LCHlch(40.58, 81.07, 304.68°)
OKLaboklab(50.76% 0.055 -0.1914)
OKLCHoklch(50.76% 0.199 286)
XYZxyz(18.5494, 11.6072, 60.2824)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247CF #B4CF47
analogous
#4770CF #6247CF #A647CF
triadic
#6247CF #CF6247 #47CF62
tetradic
#6247CF #CF4770 #B4CF47 #47CFA6
square
#6247CF #CF4770 #B4CF47 #47CFA6
split-complementary
#6247CF #CFA647 #70CF47
monochromatic
#32207B #462DAC #6247CF #8B78DC #B5A8E8

Accessibility & contrast

On white

6.32
#6247CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6247CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247CF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247CF#FFFFFF#000000##FFFFFF
##6247CF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#366985
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6247cf;
/* rgb */ color: rgb(98, 71, 207);
/* oklch */ color: oklch(50.8% 0.199 286.0);
Tailwind
colors: {
  custom: {
    50: '#987cdf',
    500: '#6247cf',
    950: '#000000',
  },
}
SCSS
$custom: #6247cf;
$custom-light: #987cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6247cf",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 251.912,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.19914,
    "h": 286
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#6247CF
secondary
#CAD69C
accent
#E246C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6247CF

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

Preview Lab → · Contrast checker → · Palette generator →

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