#6246EB#6246EB

#6246EB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.234 H 282.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6246EB
RGBrgb(98, 70, 235)
HSLhsl(250, 80%, 60%)
HSVhsv(250, 70%, 92%)
CMYKcmyk(58.3%, 70.2%, 0%, 7.8%)
CIE-LABlab(42.72, 54.89, -79.16)
CIE-LCHlch(42.72, 96.33, 304.74°)
OKLaboklab(53.01% 0.0514 -0.228)
OKLCHoklch(53.01% 0.234 282.7)
XYZxyz(22.2179, 12.9737, 79.9145)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246EB #CFEB46
analogous
#467CEB #6246EB #B546EB
triadic
#6246EB #EB6246 #46EB62
tetradic
#6246EB #EB467C #CFEB46 #46EBB5
square
#6246EB #EB467C #CFEB46 #46EBB5
split-complementary
#6246EB #EBB546 #7CEB46
monochromatic
#2B12A5 #3918DC #6246EB #917DF1 #C0B4F7

Accessibility & contrast

On white

5.84
#6246EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6246EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246EB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246EB#FFFFFF#000000##FFFFFF
##6246EB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007394
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6246eb;
/* rgb */ color: rgb(98, 70, 235);
/* oklch */ color: oklch(53.0% 0.234 282.7);
Tailwind
colors: {
  custom: {
    50: '#9c7cf3',
    500: '#6246eb',
    950: '#000000',
  },
}
SCSS
$custom: #6246eb;
$custom-light: #9c7cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6246eb",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 250.182,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.23377,
    "h": 282.7
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#6246EB
secondary
#DBE6A7
accent
#F731D5
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6246EB

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

Preview Lab → · Contrast checker → · Palette generator →

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