#6146CA#6146CA

#6146CA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.194 H 286.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6146CA
RGBrgb(97, 70, 202)
HSLhsl(252, 55%, 53%)
HSVhsv(252, 65%, 79%)
CMYKcmyk(52%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.89, 45.04, -64.91)
CIE-LCHlch(39.89, 79.00, 304.75°)
OKLaboklab(50.11% 0.0552 -0.1863)
OKLCHoklch(50.11% 0.194 286.5)
XYZxyz(17.7774, 11.1851, 57.0879)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146CA #AFCA46
analogous
#466DCA #6146CA #A346CA
triadic
#6146CA #CA6146 #46CA61
tetradic
#6146CA #CA466D #AFCA46 #46CAA3
square
#6146CA #CA466D #AFCA46 #46CAA3
split-complementary
#6146CA #CAA346 #6DCA46
monochromatic
#322174 #472FA4 #6146CA #8A76D8 #B2A5E5

Accessibility & contrast

On white

6.49
#6146CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6146CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146CA#FFFFFF#000000##FFFFFF
##6146CA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#386782
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6146ca;
/* rgb */ color: rgb(97, 70, 202);
/* oklch */ color: oklch(50.1% 0.194 286.5);
Tailwind
colors: {
  custom: {
    50: '#977bdb',
    500: '#6146ca',
    950: '#000000',
  },
}
SCSS
$custom: #6146ca;
$custom-light: #977bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6146ca",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 252.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50109,
    "c": 0.19428,
    "h": 286.5
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#6146CA
secondary
#C7D29A
accent
#DF49C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6146CA

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

Preview Lab → · Contrast checker → · Palette generator →

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