#6247E5#6247E5

#6247E5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.226 H 283.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6247E5
RGBrgb(98, 71, 229)
HSLhsl(250, 75%, 59%)
HSVhsv(250, 69%, 90%)
CMYKcmyk(57.2%, 69%, 0%, 10.2%)
CIE-LABlab(42.40, 52.60, -76.29)
CIE-LCHlch(42.40, 92.67, 304.58°)
OKLaboklab(52.62% 0.0517 -0.2197)
OKLCHoklch(52.62% 0.226 283.2)
XYZxyz(21.4287, 12.7589, 75.4471)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247E5 #CAE547
analogous
#477BE5 #6247E5 #B147E5
triadic
#6247E5 #E56247 #47E562
tetradic
#6247E5 #E5477B #CAE547 #47E5B1
square
#6247E5 #E5477B #CAE547 #47E5B1
split-complementary
#6247E5 #E5B147 #7BE547
monochromatic
#2D169C #3C1ED1 #6247E5 #907DED #BEB2F4

Accessibility & contrast

On white

5.91
#6247E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6247E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247E5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247E5#FFFFFF#000000##FFFFFF
##6247E51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#177191
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6247e5;
/* rgb */ color: rgb(98, 71, 229);
/* oklch */ color: oklch(52.6% 0.226 283.2);
Tailwind
colors: {
  custom: {
    50: '#9b7dee',
    500: '#6247e5',
    950: '#000000',
  },
}
SCSS
$custom: #6247e5;
$custom-light: #9b7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6247e5",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 250.253,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.22566,
    "h": 283.2
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#6247E5
secondary
#D8E3A5
accent
#F236D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6247E5

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

Preview Lab → · Contrast checker → · Palette generator →

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