#6147CA#6147CA

#6147CA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.193 H 286.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6147CA
RGBrgb(97, 71, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 65%, 79%)
CMYKcmyk(52%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.10, 44.47, -64.57)
CIE-LCHlch(40.10, 78.40, 304.56°)
OKLaboklab(50.26% 0.0542 -0.1853)
OKLCHoklch(50.26% 0.193 286.3)
XYZxyz(17.8405, 11.3112, 57.1089)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147CA #B0CA47
analogous
#476ECA #6147CA #A247CA
triadic
#6147CA #CA6147 #47CA61
tetradic
#6147CA #CA476E #B0CA47 #47CAA2
square
#6147CA #CA476E #B0CA47 #47CAA2
split-complementary
#6147CA #CAA247 #6ECA47
monochromatic
#322275 #472FA4 #6147CA #8A77D8 #B3A6E5

Accessibility & contrast

On white

6.44
#6147CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6147CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147CA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147CA#FFFFFF#000000##FFFFFF
##6147CA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6147ca;
/* rgb */ color: rgb(97, 71, 202);
/* oklch */ color: oklch(50.3% 0.193 286.3);
Tailwind
colors: {
  custom: {
    50: '#977cdb',
    500: '#6147ca',
    950: '#000000',
  },
}
SCSS
$custom: #6147ca;
$custom-light: #977cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6147ca",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 251.908,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50261,
    "c": 0.19305,
    "h": 286.3
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6147CA

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

Preview Lab → · Contrast checker → · Palette generator →

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