#6246EE#6246EE

#6246EE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.237 H 282.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6246EE
RGBrgb(98, 70, 238)
HSLhsl(250, 83%, 60%)
HSVhsv(250, 71%, 93%)
CMYKcmyk(58.8%, 70.6%, 0%, 6.7%)
CIE-LABlab(42.99, 55.76, -80.42)
CIE-LCHlch(42.99, 97.86, 304.74°)
OKLaboklab(53.28% 0.0508 -0.2317)
OKLCHoklch(53.28% 0.237 282.4)
XYZxyz(22.6550, 13.1485, 82.2164)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246EE #D2EE46
analogous
#467EEE #6246EE #B646EE
triadic
#6246EE #EE6246 #46EE62
tetradic
#6246EE #EE467E #D2EE46 #46EEB6
square
#6246EE #EE467E #D2EE46 #46EEB6
split-complementary
#6246EE #EEB646 #7EEE46
monochromatic
#2910AA #3715E2 #6246EE #927EF3 #C1B6F8

Accessibility & contrast

On white

5.79
#6246EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6246EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246EE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246EE#FFFFFF#000000##FFFFFF
##6246EE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF3
Deuteranopia (green-blind)
#0060EB
Tritanopia (blue-blind)
#007495
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6246ee;
/* rgb */ color: rgb(98, 70, 238);
/* oklch */ color: oklch(53.3% 0.237 282.4);
Tailwind
colors: {
  custom: {
    50: '#9d7cf5',
    500: '#6246ee',
    950: '#000000',
  },
}
SCSS
$custom: #6246ee;
$custom-light: #9d7cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6246ee",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 238
  },
  "hsl": {
    "h": 250,
    "s": 83.168,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.23725,
    "h": 282.4
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#6246EE
secondary
#DDE8A8
accent
#E006BB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6246EE

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

Preview Lab → · Contrast checker → · Palette generator →

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