#6247DF#6247DF

#6247DF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.219 H 283.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6247DF
RGBrgb(98, 71, 223)
HSLhsl(251, 70%, 58%)
HSVhsv(251, 68%, 87%)
CMYKcmyk(56.1%, 68.2%, 0%, 12.5%)
CIE-LABlab(41.89, 50.84, -73.71)
CIE-LCHlch(41.89, 89.54, 304.59°)
OKLaboklab(52.1% 0.0527 -0.2121)
OKLCHoklch(52.1% 0.219 283.9)
XYZxyz(20.6055, 12.4296, 71.1111)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247DF #C4DF47
analogous
#4778DF #6247DF #AE47DF
triadic
#6247DF #DF6247 #47DF62
tetradic
#6247DF #DF4778 #C4DF47 #47DFAE
square
#6247DF #DF4778 #C4DF47 #47DFAE
split-complementary
#6247DF #DFAE47 #78DF47
monochromatic
#2F1992 #4022C6 #6247DF #8E7BE8 #BBAFF1

Accessibility & contrast

On white

6.02
#6247DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6247DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247DF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247DF#FFFFFF#000000##FFFFFF
##6247DF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#236F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6247df;
/* rgb */ color: rgb(98, 71, 223);
/* oklch */ color: oklch(52.1% 0.219 283.9);
Tailwind
colors: {
  custom: {
    50: '#9b7cea',
    500: '#6247df',
    950: '#000000',
  },
}
SCSS
$custom: #6247df;
$custom-light: #9b7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6247df",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 250.658,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.521,
    "c": 0.21853,
    "h": 283.9
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#6247DF
secondary
#D5DFA2
accent
#ED3BCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6247DF

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

Preview Lab → · Contrast checker → · Palette generator →

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