#6146BB#6146BB

#6146BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.175 H 288.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6146BB
RGBrgb(97, 70, 187)
HSLhsl(254, 46%, 50%)
HSVhsv(254, 63%, 73%)
CMYKcmyk(48.1%, 62.6%, 0%, 26.7%)
CIE-LABlab(38.74, 40.63, -58.03)
CIE-LCHlch(38.74, 70.84, 305.00°)
OKLaboklab(48.92% 0.0566 -0.1661)
OKLCHoklch(48.92% 0.175 288.8)
XYZxyz(16.0870, 10.5089, 48.1849)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146BB #A0BB46
analogous
#4665BB #6146BB #9B46BB
triadic
#6146BB #BB6146 #46BB61
tetradic
#6146BB #BB4665 #A0BB46 #46BB9B
square
#6146BB #BB4665 #A0BB46 #46BB9B
split-complementary
#6146BB #BB9B46 #65BB46
monochromatic
#332462 #4A358F #6146BB #8773CB #ADA0DC

Accessibility & contrast

On white

6.77
#6146BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6146BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146BB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146BB#FFFFFF#000000##FFFFFF
##6146BB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#43627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6146bb;
/* rgb */ color: rgb(97, 70, 187);
/* oklch */ color: oklch(48.9% 0.175 288.8);
Tailwind
colors: {
  custom: {
    50: '#957bd0',
    500: '#6146bb',
    950: '#000000',
  },
}
SCSS
$custom: #6146bb;
$custom-light: #957bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6146bb",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 253.846,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.17545,
    "h": 288.8
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#6146BB
secondary
#BCC894
accent
#D652B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6146BB

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

Preview Lab → · Contrast checker → · Palette generator →

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