#6247CE#6247CE

#6247CE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.198 H 286.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6247CE
RGBrgb(98, 71, 206)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 66%, 81%)
CMYKcmyk(52.4%, 65.5%, 0%, 19.2%)
CIE-LABlab(40.51, 45.83, -66.22)
CIE-LCHlch(40.51, 80.53, 304.69°)
OKLaboklab(50.67% 0.0551 -0.1901)
OKLCHoklch(50.67% 0.198 286.2)
XYZxyz(18.4275, 11.5584, 59.6406)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247CE #B3CE47
analogous
#4770CE #6247CE #A647CE
triadic
#6247CE #CE6247 #47CE62
tetradic
#6247CE #CE4770 #B3CE47 #47CEA6
square
#6247CE #CE4770 #B3CE47 #47CEA6
split-complementary
#6247CE #CEA647 #70CE47
monochromatic
#32217A #462DAA #6247CE #8B77DB #B4A8E8

Accessibility & contrast

On white

6.34
#6247CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6247CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247CE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247CE#FFFFFF#000000##FFFFFF
##6247CE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#376984
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6247ce;
/* rgb */ color: rgb(98, 71, 206);
/* oklch */ color: oklch(50.7% 0.198 286.2);
Tailwind
colors: {
  custom: {
    50: '#987cde',
    500: '#6247ce',
    950: '#000000',
  },
}
SCSS
$custom: #6247ce;
$custom-light: #987cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6247ce",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 252,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.19791,
    "h": 286.2
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#6247CE
secondary
#CAD59C
accent
#E147C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6247CE

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

Preview Lab → · Contrast checker → · Palette generator →

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