#6147AA#6147AA

#6147AA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.8% C 0.152 H 291.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6147AA
RGBrgb(97, 71, 170)
HSLhsl(256, 41%, 47%)
HSVhsv(256, 58%, 67%)
CMYKcmyk(42.9%, 58.2%, 0%, 33.3%)
CIE-LABlab(37.75, 35.09, -49.58)
CIE-LCHlch(37.75, 60.74, 305.29°)
OKLaboklab(47.81% 0.0562 -0.1412)
OKLCHoklch(47.81% 0.152 291.7)
XYZxyz(14.4367, 9.9497, 39.1823)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147AA #90AA47
analogous
#475EAA #6147AA #9347AA
triadic
#6147AA #AA6147 #47AA61
tetradic
#6147AA #AA475E #90AA47 #47AA93
square
#6147AA #AA475E #90AA47 #47AA93
split-complementary
#6147AA #AA9347 #5EAA47
monochromatic
#302354 #48357F #6147AA #836CC2 #A798D4

Accessibility & contrast

On white

7.02
#6147AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6147AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6147AA#FFFFFF#000000##FFFFFF
##6147AA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075AAD
Deuteranopia (green-blind)
#1357A8
Tritanopia (blue-blind)
#4D5D71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6147aa;
/* rgb */ color: rgb(97, 71, 170);
/* oklch */ color: oklch(47.8% 0.152 291.7);
Tailwind
colors: {
  custom: {
    50: '#937bc4',
    500: '#6147aa',
    950: '#000000',
  },
}
SCSS
$custom: #6147aa;
$custom-light: #937bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6147aa",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 255.758,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.152,
    "h": 291.7
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#6147AA
secondary
#B2C08D
accent
#D157B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6147AA

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

Preview Lab → · Contrast checker → · Palette generator →

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