#6246DB#6246DB

#6246DB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.215 H 284.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6246DB
RGBrgb(98, 70, 219)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.3%, 68%, 0%, 14.1%)
CIE-LABlab(41.36, 50.20, -72.30)
CIE-LCHlch(41.36, 88.02, 304.78°)
OKLaboklab(51.62% 0.0542 -0.2079)
OKLCHoklch(51.62% 0.215 284.6)
XYZxyz(20.0095, 12.0903, 68.2834)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246DB #BFDB46
analogous
#4675DB #6246DB #AD46DB
triadic
#6246DB #DB6246 #46DB62
tetradic
#6246DB #DB4675 #BFDB46 #46DBAD
square
#6246DB #DB4675 #BFDB46 #46DBAD
split-complementary
#6246DB #DBAD46 #75DB46
monochromatic
#301B8B #4225BF #6246DB #8D79E5 #B9ACEF

Accessibility & contrast

On white

6.14
#6246DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6246DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246DB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246DB#FFFFFF#000000##FFFFFF
##6246DB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#296D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6246db;
/* rgb */ color: rgb(98, 70, 219);
/* oklch */ color: oklch(51.6% 0.215 284.6);
Tailwind
colors: {
  custom: {
    50: '#9a7ce7',
    500: '#6246db',
    950: '#000000',
  },
}
SCSS
$custom: #6246db;
$custom-light: #9a7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6246db",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 251.275,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.21488,
    "h": 284.6
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#6246DB
secondary
#D1DDA0
accent
#EA3DCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6246DB

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

Preview Lab → · Contrast checker → · Palette generator →

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