#6146DC#6146DC

#6146DC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.216 H 284.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6146DC
RGBrgb(97, 70, 220)
HSLhsl(251, 68%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.9%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.36, 50.34, -72.88)
CIE-LCHlch(41.36, 88.58, 304.64°)
OKLaboklab(51.62% 0.0526 -0.2097)
OKLCHoklch(51.62% 0.216 284.1)
XYZxyz(20.0342, 12.0878, 68.9738)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146DC #C1DC46
analogous
#4676DC #6146DC #AC46DC
triadic
#6146DC #DC6146 #46DC61
tetradic
#6146DC #DC4676 #C1DC46 #46DCAC
square
#6146DC #DC4676 #C1DC46 #46DCAC
split-complementary
#6146DC #DCAC46 #76DC46
monochromatic
#2F1B8D #4024C0 #6146DC #8D79E6 #B9ADEF

Accessibility & contrast

On white

6.14
#6146DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6146DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146DC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146DC#FFFFFF#000000##FFFFFF
##6146DC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#246D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6146dc;
/* rgb */ color: rgb(97, 70, 220);
/* oklch */ color: oklch(51.6% 0.216 284.1);
Tailwind
colors: {
  custom: {
    50: '#9a7ce8',
    500: '#6146dc',
    950: '#000000',
  },
}
SCSS
$custom: #6146dc;
$custom-light: #9a7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6146dc",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 250.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.21618,
    "h": 284.1
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#6146DC
secondary
#D2DDA0
accent
#EB3DCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6146DC

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

Preview Lab → · Contrast checker → · Palette generator →

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