#6147AB#6147AB

#6147AB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.153 H 291.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6147AB
RGBrgb(97, 71, 171)
HSLhsl(256, 41%, 47%)
HSVhsv(256, 58%, 67%)
CMYKcmyk(43.3%, 58.5%, 0%, 32.9%)
CIE-LABlab(37.82, 35.38, -50.07)
CIE-LCHlch(37.82, 61.30, 305.24°)
OKLaboklab(47.88% 0.0562 -0.1426)
OKLCHoklch(47.88% 0.153 291.5)
XYZxyz(14.5317, 9.9877, 39.6823)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147AB #91AB47
analogous
#475FAB #6147AB #9347AB
triadic
#6147AB #AB6147 #47AB61
tetradic
#6147AB #AB475F #91AB47 #47AB93
square
#6147AB #AB475F #91AB47 #47AB93
split-complementary
#6147AB #AB9347 #5FAB47
monochromatic
#302355 #483580 #6147AB #836DC2 #A898D4

Accessibility & contrast

On white

7.01
#6147AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6147AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6147AB#FFFFFF#000000##FFFFFF
##6147AB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#1057A9
Tritanopia (blue-blind)
#4C5D72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6147ab;
/* rgb */ color: rgb(97, 71, 171);
/* oklch */ color: oklch(47.9% 0.153 291.5);
Tailwind
colors: {
  custom: {
    50: '#937bc5',
    500: '#6147ab',
    950: '#000000',
  },
}
SCSS
$custom: #6147ab;
$custom-light: #937bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6147ab",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 255.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.15332,
    "h": 291.5
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6147AB

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

Preview Lab → · Contrast checker → · Palette generator →

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