#6147CD#6147CD

#6147CD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.197 H 285.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6147CD
RGBrgb(97, 71, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52.7%, 65.4%, 0%, 19.6%)
CIE-LABlab(40.34, 45.36, -65.92)
CIE-LCHlch(40.34, 80.02, 304.53°)
OKLaboklab(50.51% 0.0539 -0.1892)
OKLCHoklch(50.51% 0.197 285.9)
XYZxyz(18.1992, 11.4547, 58.9978)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147CD #B3CD47
analogous
#4770CD #6147CD #A447CD
triadic
#6147CD #CD6147 #47CD61
tetradic
#6147CD #CD4770 #B3CD47 #47CDA4
square
#6147CD #CD4770 #B3CD47 #47CDA4
split-complementary
#6147CD #CDA447 #70CD47
monochromatic
#322179 #462EA9 #6147CD #8A77DA #B4A7E7

Accessibility & contrast

On white

6.38
#6147CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6147CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147CD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147CD#FFFFFF#000000##FFFFFF
##6147CD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6147cd;
/* rgb */ color: rgb(97, 71, 205);
/* oklch */ color: oklch(50.5% 0.197 285.9);
Tailwind
colors: {
  custom: {
    50: '#977cdd',
    500: '#6147cd',
    950: '#000000',
  },
}
SCSS
$custom: #6147cd;
$custom-light: #977cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6147cd",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 251.642,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.19676,
    "h": 285.9
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6147CD

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

Preview Lab → · Contrast checker → · Palette generator →

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