#6246BF#6246BF

#6246BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.180 H 288.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6246BF
RGBrgb(98, 70, 191)
HSLhsl(254, 49%, 51%)
HSVhsv(254, 63%, 75%)
CMYKcmyk(48.7%, 63.4%, 0%, 25.1%)
CIE-LABlab(39.14, 41.99, -59.73)
CIE-LCHlch(39.14, 73.01, 305.11°)
OKLaboklab(49.32% 0.0577 -0.171)
OKLCHoklch(49.32% 0.18 288.6)
XYZxyz(16.6284, 10.7379, 50.4766)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246BF #A3BF46
analogous
#4666BF #6246BF #9E46BF
triadic
#6246BF #BF6246 #46BF62
tetradic
#6246BF #BF4666 #A3BF46 #46BF9E
square
#6246BF #BF4666 #A3BF46 #46BF9E
split-complementary
#6246BF #BF9E46 #66BF46
monochromatic
#332467 #4A3394 #6246BF #8973CF #AFA1DE

Accessibility & contrast

On white

6.67
#6246BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6246BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246BF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246BF#FFFFFF#000000##FFFFFF
##6246BF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#43637C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6246bf;
/* rgb */ color: rgb(98, 70, 191);
/* oklch */ color: oklch(49.3% 0.180 288.6);
Tailwind
colors: {
  custom: {
    50: '#967bd3',
    500: '#6246bf',
    950: '#000000',
  },
}
SCSS
$custom: #6246bf;
$custom-light: #967bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6246bf",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 253.884,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.18048,
    "h": 288.6
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#6246BF
secondary
#BFCB96
accent
#D850B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6246BF

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

Preview Lab → · Contrast checker → · Palette generator →

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