#6147CC#6147CC

#6147CC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.196 H 286.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6147CC
RGBrgb(97, 71, 204)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52.5%, 65.2%, 0%, 20%)
CIE-LABlab(40.26, 45.06, -65.47)
CIE-LCHlch(40.26, 79.48, 304.54°)
OKLaboklab(50.42% 0.054 -0.1879)
OKLCHoklch(50.42% 0.196 286)
XYZxyz(18.0788, 11.4066, 58.3641)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147CC #B2CC47
analogous
#4770CC #6147CC #A447CC
triadic
#6147CC #CC6147 #47CC61
tetradic
#6147CC #CC4770 #B2CC47 #47CCA4
square
#6147CC #CC4770 #B2CC47 #47CCA4
split-complementary
#6147CC #CCA447 #70CC47
monochromatic
#322177 #462EA7 #6147CC #8A77D9 #B3A7E7

Accessibility & contrast

On white

6.40
#6147CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6147CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147CC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147CC#FFFFFF#000000##FFFFFF
##6147CC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#366883
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6147cc;
/* rgb */ color: rgb(97, 71, 204);
/* oklch */ color: oklch(50.4% 0.196 286.0);
Tailwind
colors: {
  custom: {
    50: '#977cdd',
    500: '#6147cc',
    950: '#000000',
  },
}
SCSS
$custom: #6147cc;
$custom-light: #977cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6147cc",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 251.729,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.19553,
    "h": 286
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#6147CC
secondary
#C9D49B
accent
#E048C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6147CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6147CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva