#6247C8#6247C8

#6247C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.190 H 287.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6247C8
RGBrgb(98, 71, 200)
HSLhsl(253, 54%, 53%)
HSVhsv(253, 65%, 78%)
CMYKcmyk(51%, 64.5%, 0%, 21.6%)
CIE-LABlab(40.04, 44.06, -63.51)
CIE-LCHlch(40.04, 77.30, 304.75°)
OKLaboklab(50.19% 0.0558 -0.1821)
OKLCHoklch(50.19% 0.19 287)
XYZxyz(17.7125, 11.2724, 55.8749)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247C8 #ADC847
analogous
#476CC8 #6247C8 #A247C8
triadic
#6247C8 #C86247 #47C862
tetradic
#6247C8 #C8476C #ADC847 #47C8A2
square
#6247C8 #C8476C #ADC847 #47C8A2
split-complementary
#6247C8 #C8A247 #6CC847
monochromatic
#332272 #4830A2 #6247C8 #8A76D6 #B2A5E4

Accessibility & contrast

On white

6.45
#6247C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6247C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247C8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247C8#FFFFFF#000000##FFFFFF
##6247C81.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#3C6781
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6247c8;
/* rgb */ color: rgb(98, 71, 200);
/* oklch */ color: oklch(50.2% 0.190 287.0);
Tailwind
colors: {
  custom: {
    50: '#977cda',
    500: '#6247c8',
    950: '#000000',
  },
}
SCSS
$custom: #6247c8;
$custom-light: #977cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6247c8",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 252.558,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.19048,
    "h": 287
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#6247C8
secondary
#C6D19A
accent
#DD4ABF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6247C8

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

Preview Lab → · Contrast checker → · Palette generator →

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