#6246DE#6246DE

#6246DE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.218 H 284.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6246DE
RGBrgb(98, 70, 222)
HSLhsl(251, 70%, 57%)
HSVhsv(251, 68%, 87%)
CMYKcmyk(55.9%, 68.5%, 0%, 12.9%)
CIE-LABlab(41.61, 51.08, -73.60)
CIE-LCHlch(41.61, 89.59, 304.76°)
OKLaboklab(51.87% 0.0537 -0.2118)
OKLCHoklch(51.87% 0.218 284.2)
XYZxyz(20.4080, 12.2497, 70.3821)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246DE #C2DE46
analogous
#4676DE #6246DE #AE46DE
triadic
#6246DE #DE6246 #46DE62
tetradic
#6246DE #DE4676 #C2DE46 #46DEAE
square
#6246DE #DE4676 #C2DE46 #46DEAE
split-complementary
#6246DE #DEAE46 #76DE46
monochromatic
#2F1A90 #4123C4 #6246DE #8E7AE7 #BAAEF1

Accessibility & contrast

On white

6.09
#6246DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6246DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246DE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246DE#FFFFFF#000000##FFFFFF
##6246DE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#246E8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6246de;
/* rgb */ color: rgb(98, 70, 222);
/* oklch */ color: oklch(51.9% 0.218 284.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ce9',
    500: '#6246de',
    950: '#000000',
  },
}
SCSS
$custom: #6246de;
$custom-light: #9a7ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6246de",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 251.053,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.21845,
    "h": 284.2
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#6246DE
secondary
#D3DFA1
accent
#ED3BCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6246DE

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

Preview Lab → · Contrast checker → · Palette generator →

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