#6146CB#6146CB

#6146CB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.196 H 286.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6146CB
RGBrgb(97, 70, 203)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(52.2%, 65.5%, 0%, 20.4%)
CIE-LABlab(39.97, 45.33, -65.36)
CIE-LCHlch(39.97, 79.54, 304.74°)
OKLaboklab(50.19% 0.0551 -0.1876)
OKLCHoklch(50.19% 0.196 286.4)
XYZxyz(17.8962, 11.2326, 57.7134)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146CB #B0CB46
analogous
#466DCB #6146CB #A346CB
triadic
#6146CB #CB6146 #46CB61
tetradic
#6146CB #CB466D #B0CB46 #46CBA3
square
#6146CB #CB466D #B0CB46 #46CBA3
split-complementary
#6146CB #CBA346 #6DCB46
monochromatic
#322176 #472EA5 #6146CB #8A76D8 #B3A6E6

Accessibility & contrast

On white

6.47
#6146CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6146CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146CB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146CB#FFFFFF#000000##FFFFFF
##6146CB1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#376782
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6146cb;
/* rgb */ color: rgb(97, 70, 203);
/* oklch */ color: oklch(50.2% 0.196 286.4);
Tailwind
colors: {
  custom: {
    50: '#977bdc',
    500: '#6146cb',
    950: '#000000',
  },
}
SCSS
$custom: #6146cb;
$custom-light: #977bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6146cb",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 252.18,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.19552,
    "h": 286.4
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6146CB

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

Preview Lab → · Contrast checker → · Palette generator →

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