#6246E7#6246E7

#6246E7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.229 H 283.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6246E7
RGBrgb(98, 70, 231)
HSLhsl(250, 77%, 59%)
HSVhsv(250, 70%, 91%)
CMYKcmyk(57.6%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.38, 53.72, -77.46)
CIE-LCHlch(42.38, 94.27, 304.74°)
OKLaboklab(52.66% 0.0521 -0.2231)
OKLCHoklch(52.66% 0.229 283.1)
XYZxyz(21.6465, 12.7451, 76.9052)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246E7 #CBE746
analogous
#467BE7 #6246E7 #B346E7
triadic
#6246E7 #E76246 #46E762
tetradic
#6246E7 #E7467B #CBE746 #46E7B3
square
#6246E7 #E7467B #CBE746 #46E7B3
split-complementary
#6246E7 #E7B346 #7BE746
monochromatic
#2C159E #3C1CD4 #6246E7 #907CEE #BEB2F5

Accessibility & contrast

On white

5.92
#6246E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6246E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246E7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246E7#FFFFFF#000000##FFFFFF
##6246E71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#117192
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6246e7;
/* rgb */ color: rgb(98, 70, 231);
/* oklch */ color: oklch(52.7% 0.229 283.1);
Tailwind
colors: {
  custom: {
    50: '#9c7cf0',
    500: '#6246e7',
    950: '#000000',
  },
}
SCSS
$custom: #6246e7;
$custom-light: #9c7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6246e7",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 250.435,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52656,
    "c": 0.22909,
    "h": 283.1
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#6246E7
secondary
#D9E4A5
accent
#F434D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6246E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6246E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva