#6247E6#6247E6

#6247E6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.227 H 283.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6247E6
RGBrgb(98, 71, 230)
HSLhsl(250, 76%, 59%)
HSVhsv(250, 69%, 90%)
CMYKcmyk(57.4%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.48, 52.89, -76.72)
CIE-LCHlch(42.48, 93.19, 304.58°)
OKLaboklab(52.71% 0.0515 -0.2209)
OKLCHoklch(52.71% 0.227 283.1)
XYZxyz(21.5688, 12.8149, 76.1845)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247E6 #CBE647
analogous
#477CE6 #6247E6 #B247E6
triadic
#6247E6 #E66247 #47E662
tetradic
#6247E6 #E6477C #CBE647 #47E6B2
square
#6247E6 #E6477C #CBE647 #47E6B2
split-complementary
#6247E6 #E6B247 #7CE647
monochromatic
#2C159D #3C1DD3 #6247E6 #907DED #BEB3F5

Accessibility & contrast

On white

5.89
#6247E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6247E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247E6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247E6#FFFFFF#000000##FFFFFF
##6247E61.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#147191
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6247e6;
/* rgb */ color: rgb(98, 71, 230);
/* oklch */ color: oklch(52.7% 0.227 283.1);
Tailwind
colors: {
  custom: {
    50: '#9c7def',
    500: '#6247e6',
    950: '#000000',
  },
}
SCSS
$custom: #6247e6;
$custom-light: #9c7def;
$custom-dark: #000000;
JSON
{
  "hex": "#6247e6",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 250.189,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.22684,
    "h": 283.1
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#6247E6
secondary
#D9E4A5
accent
#F335D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6247E6

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

Preview Lab → · Contrast checker → · Palette generator →

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