#6246BB#6246BB

#6246BB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.175 H 289.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6246BB
RGBrgb(98, 70, 187)
HSLhsl(254, 46%, 50%)
HSVhsv(254, 63%, 73%)
CMYKcmyk(47.6%, 62.6%, 0%, 26.7%)
CIE-LABlab(38.84, 40.83, -57.87)
CIE-LCHlch(38.84, 70.82, 305.20°)
OKLaboklab(49.01% 0.058 -0.1656)
OKLCHoklch(49.01% 0.175 289.3)
XYZxyz(16.1942, 10.5642, 48.1899)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246BB #9FBB46
analogous
#4664BB #6246BB #9C46BB
triadic
#6246BB #BB6246 #46BB62
tetradic
#6246BB #BB4664 #9FBB46 #46BB9C
square
#6246BB #BB4664 #9FBB46 #46BB9C
split-complementary
#6246BB #BB9C46 #64BB46
monochromatic
#332462 #4A358F #6246BB #8873CB #AEA0DC

Accessibility & contrast

On white

6.75
#6246BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6246BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246BB#FFFFFF#000000##FFFFFF
##6246BB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#45617A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6246bb;
/* rgb */ color: rgb(98, 70, 187);
/* oklch */ color: oklch(49.0% 0.175 289.3);
Tailwind
colors: {
  custom: {
    50: '#967bd0',
    500: '#6246bb',
    950: '#000000',
  },
}
SCSS
$custom: #6246bb;
$custom-light: #967bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6246bb",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 254.359,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.17543,
    "h": 289.3
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#6246BB
secondary
#BCC894
accent
#D652B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6246BB

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

Preview Lab → · Contrast checker → · Palette generator →

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