#6246DD#6246DD

#6246DD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.217 H 284.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6246DD
RGBrgb(98, 70, 221)
HSLhsl(251, 69%, 57%)
HSVhsv(251, 68%, 87%)
CMYKcmyk(55.7%, 68.3%, 0%, 13.3%)
CIE-LABlab(41.53, 50.79, -73.17)
CIE-LCHlch(41.53, 89.07, 304.77°)
OKLaboklab(51.79% 0.0538 -0.2105)
OKLCHoklch(51.79% 0.217 284.3)
XYZxyz(20.2743, 12.1962, 69.6784)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246DD #C1DD46
analogous
#4676DD #6246DD #AE46DD
triadic
#6246DD #DD6246 #46DD62
tetradic
#6246DD #DD4676 #C1DD46 #46DDAE
square
#6246DD #DD4676 #C1DD46 #46DDAE
split-complementary
#6246DD #DDAE46 #76DD46
monochromatic
#301A8E #4124C2 #6246DD #8E7AE7 #BAADF0

Accessibility & contrast

On white

6.11
#6246DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6246DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246DD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246DD#FFFFFF#000000##FFFFFF
##6246DD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#266D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6246dd;
/* rgb */ color: rgb(98, 70, 221);
/* oklch */ color: oklch(51.8% 0.217 284.3);
Tailwind
colors: {
  custom: {
    50: '#9a7ce9',
    500: '#6246dd',
    950: '#000000',
  },
}
SCSS
$custom: #6246dd;
$custom-light: #9a7ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6246dd",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 251.126,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.21726,
    "h": 284.3
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#6246DD
secondary
#D3DEA1
accent
#EC3CCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6246DD

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

Preview Lab → · Contrast checker → · Palette generator →

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