#6246BD#6246BD

#6246BD is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.178 H 289.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6246BD
RGBrgb(98, 70, 189)
HSLhsl(254, 47%, 51%)
HSVhsv(254, 63%, 74%)
CMYKcmyk(48.1%, 63%, 0%, 25.9%)
CIE-LABlab(38.99, 41.41, -58.80)
CIE-LCHlch(38.99, 71.92, 305.15°)
OKLaboklab(49.16% 0.0578 -0.1683)
OKLCHoklch(49.16% 0.178 289)
XYZxyz(16.4098, 10.6504, 49.3253)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246BD #A1BD46
analogous
#4665BD #6246BD #9D46BD
triadic
#6246BD #BD6246 #46BD62
tetradic
#6246BD #BD4665 #A1BD46 #46BD9D
square
#6246BD #BD4665 #A1BD46 #46BD9D
split-complementary
#6246BD #BD9D46 #65BD46
monochromatic
#332465 #4A3492 #6246BD #8873CD #AFA0DD

Accessibility & contrast

On white

6.71
#6246BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6246BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246BD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246BD#FFFFFF#000000##FFFFFF
##6246BD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#44627B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6246bd;
/* rgb */ color: rgb(98, 70, 189);
/* oklch */ color: oklch(49.2% 0.178 289.0);
Tailwind
colors: {
  custom: {
    50: '#967bd2',
    500: '#6246bd',
    950: '#000000',
  },
}
SCSS
$custom: #6246bd;
$custom-light: #967bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6246bd",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 254.118,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.17795,
    "h": 289
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#6246BD
secondary
#BDCA95
accent
#D751B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6246BD

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

Preview Lab → · Contrast checker → · Palette generator →

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