#6247CD#6247CD

#6247CD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.197 H 286.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6247CD
RGBrgb(98, 71, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(40.43, 45.53, -65.77)
CIE-LCHlch(40.43, 79.99, 304.70°)
OKLaboklab(50.59% 0.0552 -0.1888)
OKLCHoklch(50.59% 0.197 286.3)
XYZxyz(18.3064, 11.5100, 59.0028)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247CD #B2CD47
analogous
#476FCD #6247CD #A547CD
triadic
#6247CD #CD6247 #47CD62
tetradic
#6247CD #CD476F #B2CD47 #47CDA5
square
#6247CD #CD476F #B2CD47 #47CDA5
split-complementary
#6247CD #CDA547 #6FCD47
monochromatic
#332179 #472EA9 #6247CD #8B77DA #B4A7E7

Accessibility & contrast

On white

6.36
#6247CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6247CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247CD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247CD#FFFFFF#000000##FFFFFF
##6247CD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#386884
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6247cd;
/* rgb */ color: rgb(98, 71, 205);
/* oklch */ color: oklch(50.6% 0.197 286.3);
Tailwind
colors: {
  custom: {
    50: '#987cdd',
    500: '#6247cd',
    950: '#000000',
  },
}
SCSS
$custom: #6247cd;
$custom-light: #987cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6247cd",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 252.09,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.19668,
    "h": 286.3
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#6247CD
secondary
#C9D49B
accent
#E147C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6247CD

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

Preview Lab → · Contrast checker → · Palette generator →

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