#6247AF#6247AF

#6247AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.3% C 0.159 H 291.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6247AF
RGBrgb(98, 71, 175)
HSLhsl(256, 42%, 48%)
HSVhsv(256, 59%, 69%)
CMYKcmyk(44%, 59.4%, 0%, 31.4%)
CIE-LABlab(38.20, 36.76, -51.83)
CIE-LCHlch(38.20, 63.54, 305.34°)
OKLaboklab(48.27% 0.0575 -0.1478)
OKLCHoklch(48.27% 0.159 291.3)
XYZxyz(15.0260, 10.1978, 41.7258)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247AF #94AF47
analogous
#4760AF #6247AF #9647AF
triadic
#6247AF #AF6247 #47AF62
tetradic
#6247AF #AF4760 #94AF47 #47AF96
square
#6247AF #AF4760 #94AF47 #47AF96
split-complementary
#6247AF #AF9647 #60AF47
monochromatic
#312458 #4A3583 #6247AF #856FC4 #AA9AD6

Accessibility & contrast

On white

6.91
#6247AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6247AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247AF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247AF#FFFFFF#000000##FFFFFF
##6247AF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#4C5E74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6247af;
/* rgb */ color: rgb(98, 71, 175);
/* oklch */ color: oklch(48.3% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#947bc8',
    500: '#6247af',
    950: '#000000',
  },
}
SCSS
$custom: #6247af;
$custom-light: #947bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6247af",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 255.577,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.15858,
    "h": 291.3
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#6247AF
secondary
#B5C28F
accent
#D256B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6247AF

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

Preview Lab → · Contrast checker → · Palette generator →

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