#6246CB#6246CB

#6246CB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.195 H 286.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6246CB
RGBrgb(98, 70, 203)
HSLhsl(253, 56%, 54%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(51.7%, 65.5%, 0%, 20.4%)
CIE-LABlab(40.06, 45.51, -65.21)
CIE-LCHlch(40.06, 79.52, 304.91°)
OKLaboklab(50.28% 0.0564 -0.1871)
OKLCHoklch(50.28% 0.195 286.8)
XYZxyz(18.0035, 11.2879, 57.7185)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246CB #AFCB46
analogous
#466CCB #6246CB #A546CB
triadic
#6246CB #CB6246 #46CB62
tetradic
#6246CB #CB466C #AFCB46 #46CBA5
square
#6246CB #CB466C #AFCB46 #46CBA5
split-complementary
#6246CB #CBA546 #6CCB46
monochromatic
#332176 #472EA5 #6246CB #8B76D8 #B3A6E6

Accessibility & contrast

On white

6.45
#6246CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6246CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6246CB#FFFFFF#000000##FFFFFF
##6246CB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#3A6782
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6246cb;
/* rgb */ color: rgb(98, 70, 203);
/* oklch */ color: oklch(50.3% 0.195 286.8);
Tailwind
colors: {
  custom: {
    50: '#987bdc',
    500: '#6246cb',
    950: '#000000',
  },
}
SCSS
$custom: #6246cb;
$custom-light: #987bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6246cb",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 252.632,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.19544,
    "h": 286.8
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#6246CB
secondary
#C7D39A
accent
#DF48C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6246CB

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

Preview Lab → · Contrast checker → · Palette generator →

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