#6246AA#6246AA

#6246AA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.7% C 0.153 H 292.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6246AA
RGBrgb(98, 70, 170)
HSLhsl(257, 42%, 47%)
HSVhsv(257, 59%, 67%)
CMYKcmyk(42.4%, 58.8%, 0%, 33.3%)
CIE-LABlab(37.62, 35.91, -49.78)
CIE-LCHlch(37.62, 61.38, 305.80°)
OKLaboklab(47.74% 0.0588 -0.1418)
OKLCHoklch(47.74% 0.153 292.5)
XYZxyz(14.4809, 9.8789, 39.1663)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246AA #8EAA46
analogous
#465CAA #6246AA #9446AA
triadic
#6246AA #AA6246 #46AA62
tetradic
#6246AA #AA465C #8EAA46 #46AA94
square
#6246AA #AA465C #8EAA46 #46AA94
split-complementary
#6246AA #AA9446 #5CAA46
monochromatic
#302253 #49347F #6246AA #836BC2 #A896D4

Accessibility & contrast

On white

7.06
#6246AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6246AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6246AA#FFFFFF#000000##FFFFFF
##6246AA1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAD
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#4E5C71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6246aa;
/* rgb */ color: rgb(98, 70, 170);
/* oklch */ color: oklch(47.7% 0.153 292.5);
Tailwind
colors: {
  custom: {
    50: '#947ac4',
    500: '#6246aa',
    950: '#000000',
  },
}
SCSS
$custom: #6246aa;
$custom-light: #947ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#6246aa",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 256.8,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47737,
    "c": 0.15348,
    "h": 292.5
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#6246AA
secondary
#B1C08C
accent
#D156AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6246AA

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

Preview Lab → · Contrast checker → · Palette generator →

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