#6247E0#6247E0

#6247E0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.220 H 283.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6247E0
RGBrgb(98, 71, 224)
HSLhsl(251, 71%, 58%)
HSVhsv(251, 68%, 88%)
CMYKcmyk(56.3%, 68.3%, 0%, 12.2%)
CIE-LABlab(41.97, 51.13, -74.14)
CIE-LCHlch(41.97, 90.06, 304.59°)
OKLaboklab(52.19% 0.0525 -0.2134)
OKLCHoklch(52.19% 0.22 283.8)
XYZxyz(20.7407, 12.4837, 71.8232)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247E0 #C5E047
analogous
#4779E0 #6247E0 #AE47E0
triadic
#6247E0 #E06247 #47E062
tetradic
#6247E0 #E04779 #C5E047 #47E0AE
square
#6247E0 #E04779 #C5E047 #47E0AE
split-complementary
#6247E0 #E0AE47 #79E047
monochromatic
#2F1994 #3F22C8 #6247E0 #8F7BE9 #BBB0F2

Accessibility & contrast

On white

6.01
#6247E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6247E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247E0
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247E0#FFFFFF#000000##FFFFFF
##6247E01.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#216F8E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6247e0;
/* rgb */ color: rgb(98, 71, 224);
/* oklch */ color: oklch(52.2% 0.220 283.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ceb',
    500: '#6247e0',
    950: '#000000',
  },
}
SCSS
$custom: #6247e0;
$custom-light: #9b7ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#6247e0",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 250.588,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.21973,
    "h": 283.8
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#6247E0
secondary
#D5E0A3
accent
#EE3ACE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6247E0

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

Preview Lab → · Contrast checker → · Palette generator →

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