#6247BD#6247BD

#6247BD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.177 H 288.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6247BD
RGBrgb(98, 71, 189)
HSLhsl(254, 47%, 51%)
HSVhsv(254, 62%, 74%)
CMYKcmyk(48.1%, 62.4%, 0%, 25.9%)
CIE-LABlab(39.20, 40.83, -58.45)
CIE-LCHlch(39.20, 71.30, 304.94°)
OKLaboklab(49.32% 0.0568 -0.1673)
OKLCHoklch(49.32% 0.177 288.7)
XYZxyz(16.4729, 10.7766, 49.3464)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247BD #A2BD47
analogous
#4767BD #6247BD #9D47BD
triadic
#6247BD #BD6247 #47BD62
tetradic
#6247BD #BD4767 #A2BD47 #47BD9D
square
#6247BD #BD4767 #A2BD47 #47BD9D
split-complementary
#6247BD #BD9D47 #67BD47
monochromatic
#332465 #4A3492 #6247BD #8874CD #AFA1DD

Accessibility & contrast

On white

6.66
#6247BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6247BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247BD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247BD#FFFFFF#000000##FFFFFF
##6247BD1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#44637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6247bd;
/* rgb */ color: rgb(98, 71, 189);
/* oklch */ color: oklch(49.3% 0.177 288.7);
Tailwind
colors: {
  custom: {
    50: '#967bd2',
    500: '#6247bd',
    950: '#000000',
  },
}
SCSS
$custom: #6247bd;
$custom-light: #967bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6247bd",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 253.729,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.17663,
    "h": 288.7
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#6247BD
secondary
#BECA96
accent
#D751B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6247BD

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

Preview Lab → · Contrast checker → · Palette generator →

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