#6247DA#6247DA

#6247DA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.213 H 284.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6247DA
RGBrgb(98, 71, 218)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(55%, 67.4%, 0%, 14.5%)
CIE-LABlab(41.48, 49.37, -71.53)
CIE-LCHlch(41.48, 86.91, 304.61°)
OKLaboklab(51.67% 0.0535 -0.2057)
OKLCHoklch(51.67% 0.213 284.6)
XYZxyz(19.9413, 12.1639, 67.6132)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247DA #BFDA47
analogous
#4776DA #6247DA #AB47DA
triadic
#6247DA #DA6247 #47DA62
tetradic
#6247DA #DA4776 #BFDA47 #47DAAB
square
#6247DA #DA4776 #BFDA47 #47DAAB
split-complementary
#6247DA #DAAB47 #76DA47
monochromatic
#301C8B #4226BE #6247DA #8D7AE4 #B9ADEE

Accessibility & contrast

On white

6.12
#6247DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6247DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247DA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247DA#FFFFFF#000000##FFFFFF
##6247DA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#2A6D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6247da;
/* rgb */ color: rgb(98, 71, 218);
/* oklch */ color: oklch(51.7% 0.213 284.6);
Tailwind
colors: {
  custom: {
    50: '#9a7ce7',
    500: '#6247da',
    950: '#000000',
  },
}
SCSS
$custom: #6247da;
$custom-light: #9a7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6247da",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 251.02,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.21253,
    "h": 284.6
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#6247DA
secondary
#D1DCA0
accent
#E93ECA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6247DA

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

Preview Lab → · Contrast checker → · Palette generator →

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