#6146CD#6146CD

#6146CD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.198 H 286.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6146CD
RGBrgb(97, 70, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(52.7%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.13, 45.92, -66.26)
CIE-LCHlch(40.13, 80.62, 304.72°)
OKLaboklab(50.36% 0.0548 -0.1902)
OKLCHoklch(50.36% 0.198 286.1)
XYZxyz(18.1361, 11.3285, 58.9768)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146CD #B2CD46
analogous
#466FCD #6146CD #A546CD
triadic
#6146CD #CD6146 #46CD61
tetradic
#6146CD #CD466F #B2CD46 #46CDA5
square
#6146CD #CD466F #B2CD46 #46CDA5
split-complementary
#6146CD #CDA546 #6FCD46
monochromatic
#322078 #462DA8 #6146CD #8A76DA #B3A6E7

Accessibility & contrast

On white

6.43
#6146CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6146CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146CD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146CD#FFFFFF#000000##FFFFFF
##6146CD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#356883
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6146cd;
/* rgb */ color: rgb(97, 70, 205);
/* oklch */ color: oklch(50.4% 0.198 286.1);
Tailwind
colors: {
  custom: {
    50: '#977bdd',
    500: '#6146cd',
    950: '#000000',
  },
}
SCSS
$custom: #6146cd;
$custom-light: #977bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6146cd",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 252,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.19798,
    "h": 286.1
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#6146CD
secondary
#C9D49B
accent
#E147C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6146CD

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

Preview Lab → · Contrast checker → · Palette generator →

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