#6246CD#6246CD

#6246CD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.198 H 286.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6246CD
RGBrgb(98, 70, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(52.2%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.22, 46.09, -66.11)
CIE-LCHlch(40.22, 80.59, 304.89°)
OKLaboklab(50.44% 0.0562 -0.1898)
OKLCHoklch(50.44% 0.198 286.5)
XYZxyz(18.2433, 11.3838, 58.9818)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246CD #B1CD46
analogous
#466ECD #6246CD #A546CD
triadic
#6246CD #CD6246 #46CD62
tetradic
#6246CD #CD466E #B1CD46 #46CDA5
square
#6246CD #CD466E #B1CD46 #46CDA5
split-complementary
#6246CD #CDA546 #6ECD46
monochromatic
#332078 #472DA8 #6246CD #8B76DA #B4A6E7

Accessibility & contrast

On white

6.41
#6246CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6246CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6246CD#FFFFFF#000000##FFFFFF
##6246CD1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#386883
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6246cd;
/* rgb */ color: rgb(98, 70, 205);
/* oklch */ color: oklch(50.4% 0.198 286.5);
Tailwind
colors: {
  custom: {
    50: '#987bdd',
    500: '#6246cd',
    950: '#000000',
  },
}
SCSS
$custom: #6246cd;
$custom-light: #987bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6246cd",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 252.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.19789,
    "h": 286.5
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#6246CD
secondary
#C8D49B
accent
#E147C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6246CD

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

Preview Lab → · Contrast checker → · Palette generator →

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