#6247E4#6247E4

#6247E4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.224 H 283.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6247E4
RGBrgb(98, 71, 228)
HSLhsl(250, 74%, 59%)
HSVhsv(250, 69%, 89%)
CMYKcmyk(57%, 68.9%, 0%, 10.6%)
CIE-LABlab(42.31, 52.31, -75.87)
CIE-LCHlch(42.31, 92.15, 304.58°)
OKLaboklab(52.53% 0.0519 -0.2184)
OKLCHoklch(52.53% 0.224 283.4)
XYZxyz(21.2895, 12.7032, 74.7139)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247E4 #C9E447
analogous
#477AE4 #6247E4 #B047E4
triadic
#6247E4 #E46247 #47E462
tetradic
#6247E4 #E4477A #C9E447 #47E4B0
square
#6247E4 #E4477A #C9E447 #47E4B0
split-complementary
#6247E4 #E4B047 #7AE447
monochromatic
#2D179A #3D1ECF #6247E4 #907CEC #BDB2F4

Accessibility & contrast

On white

5.93
#6247E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6247E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247E4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247E4#FFFFFF#000000##FFFFFF
##6247E41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#197190
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6247e4;
/* rgb */ color: rgb(98, 71, 228);
/* oklch */ color: oklch(52.5% 0.224 283.4);
Tailwind
colors: {
  custom: {
    50: '#9b7dee',
    500: '#6247e4',
    950: '#000000',
  },
}
SCSS
$custom: #6247e4;
$custom-light: #9b7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6247e4",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 250.318,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.22448,
    "h": 283.4
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#6247E4
secondary
#D8E2A4
accent
#F137D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6247E4

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

Preview Lab → · Contrast checker → · Palette generator →

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