#6146CC#6146CC

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

Color values

HEX#6146CC
RGBrgb(97, 70, 204)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(52.5%, 65.7%, 0%, 20%)
CIE-LABlab(40.05, 45.63, -65.81)
CIE-LCHlch(40.05, 80.08, 304.73°)
OKLaboklab(50.27% 0.0549 -0.1889)
OKLCHoklch(50.27% 0.197 286.2)
XYZxyz(18.0158, 11.2804, 58.3431)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146CC #B1CC46
analogous
#466ECC #6146CC #A446CC
triadic
#6146CC #CC6146 #46CC61
tetradic
#6146CC #CC466E #B1CC46 #46CCA4
square
#6146CC #CC466E #B1CC46 #46CCA4
split-complementary
#6146CC #CCA446 #6ECC46
monochromatic
#322177 #462EA7 #6146CC #8A76D9 #B3A6E6

Accessibility & contrast

On white

6.45
#6146CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6146CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146CC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146CC#FFFFFF#000000##FFFFFF
##6146CC1.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)
#0062D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#366783
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6146cc;
/* rgb */ color: rgb(97, 70, 204);
/* oklch */ color: oklch(50.3% 0.197 286.2);
Tailwind
colors: {
  custom: {
    50: '#977bdd',
    500: '#6146cc',
    950: '#000000',
  },
}
SCSS
$custom: #6146cc;
$custom-light: #977bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6146cc",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 252.09,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.19675,
    "h": 286.2
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#6146CC
secondary
#C8D49A
accent
#E048C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6146CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6146CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva