#6247DC#6247DC

#6247DC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.215 H 284.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6247DC
RGBrgb(98, 71, 220)
HSLhsl(251, 68%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(41.64, 49.95, -72.41)
CIE-LCHlch(41.64, 87.97, 304.60°)
OKLaboklab(51.84% 0.0532 -0.2083)
OKLCHoklch(51.84% 0.215 284.3)
XYZxyz(20.2046, 12.2693, 68.9998)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247DC #C1DC47
analogous
#4777DC #6247DC #AC47DC
triadic
#6247DC #DC6247 #47DC62
tetradic
#6247DC #DC4777 #C1DC47 #47DCAC
square
#6247DC #DC4777 #C1DC47 #47DCAC
split-complementary
#6247DC #DCAC47 #77DC47
monochromatic
#301B8E #4125C1 #6247DC #8E7AE6 #BAAEF0

Accessibility & contrast

On white

6.08
#6247DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6247DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247DC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247DC#FFFFFF#000000##FFFFFF
##6247DC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#276E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6247dc;
/* rgb */ color: rgb(98, 71, 220);
/* oklch */ color: oklch(51.8% 0.215 284.3);
Tailwind
colors: {
  custom: {
    50: '#9a7ce8',
    500: '#6247dc',
    950: '#000000',
  },
}
SCSS
$custom: #6247dc;
$custom-light: #9a7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6247dc",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 250.872,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.21494,
    "h": 284.3
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#6247DC
secondary
#D3DEA1
accent
#EB3DCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6247DC

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

Preview Lab → · Contrast checker → · Palette generator →

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