#6247BA#6247BA

#6247BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.173 H 289.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6247BA
RGBrgb(98, 71, 186)
HSLhsl(254, 45%, 50%)
HSVhsv(254, 62%, 73%)
CMYKcmyk(47.3%, 61.8%, 0%, 27.1%)
CIE-LABlab(38.98, 39.96, -57.05)
CIE-LCHlch(38.98, 69.65, 305.01°)
OKLaboklab(49.09% 0.057 -0.1631)
OKLCHoklch(49.09% 0.173 289.3)
XYZxyz(16.1506, 10.6477, 47.6491)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247BA #9FBA47
analogous
#4765BA #6247BA #9C47BA
triadic
#6247BA #BA6247 #47BA62
tetradic
#6247BA #BA4765 #9FBA47 #47BA9C
square
#6247BA #BA4765 #9FBA47 #47BA9C
split-complementary
#6247BA #BA9C47 #65BA47
monochromatic
#332562 #4A358E #6247BA #8874CB #AEA0DB

Accessibility & contrast

On white

6.71
#6247BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6247BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247BA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247BA#FFFFFF#000000##FFFFFF
##6247BA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#46627A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6247ba;
/* rgb */ color: rgb(98, 71, 186);
/* oklch */ color: oklch(49.1% 0.173 289.3);
Tailwind
colors: {
  custom: {
    50: '#957bd0',
    500: '#6247ba',
    950: '#000000',
  },
}
SCSS
$custom: #6247ba;
$custom-light: #957bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6247ba",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 254.087,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.1728,
    "h": 289.3
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#6247BA
secondary
#BCC895
accent
#D553B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6247BA

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

Preview Lab → · Contrast checker → · Palette generator →

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