#6247CA#6247CA

#6247CA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.193 H 286.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6247CA
RGBrgb(98, 71, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 65%, 79%)
CMYKcmyk(51.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.19, 44.65, -64.42)
CIE-LCHlch(40.19, 78.38, 304.73°)
OKLaboklab(50.35% 0.0556 -0.1848)
OKLCHoklch(50.35% 0.193 286.7)
XYZxyz(17.9478, 11.3665, 57.1139)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247CA #AFCA47
analogous
#476DCA #6247CA #A347CA
triadic
#6247CA #CA6247 #47CA62
tetradic
#6247CA #CA476D #AFCA47 #47CAA3
square
#6247CA #CA476D #AFCA47 #47CAA3
split-complementary
#6247CA #CAA347 #6DCA47
monochromatic
#332275 #472FA4 #6247CA #8B77D8 #B3A6E5

Accessibility & contrast

On white

6.42
#6247CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6247CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247CA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247CA#FFFFFF#000000##FFFFFF
##6247CA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#3A6782
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6247ca;
/* rgb */ color: rgb(98, 71, 202);
/* oklch */ color: oklch(50.3% 0.193 286.7);
Tailwind
colors: {
  custom: {
    50: '#977cdb',
    500: '#6247ca',
    950: '#000000',
  },
}
SCSS
$custom: #6247ca;
$custom-light: #977cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6247ca",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 252.366,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.19297,
    "h": 286.7
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#6247CA
secondary
#C7D29A
accent
#DF49C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6247CA

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

Preview Lab → · Contrast checker → · Palette generator →

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