#6147AC#6147AC

#6147AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.155 H 291.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6147AC
RGBrgb(97, 71, 172)
HSLhsl(255, 42%, 48%)
HSVhsv(255, 59%, 67%)
CMYKcmyk(43.6%, 58.7%, 0%, 32.5%)
CIE-LABlab(37.89, 35.66, -50.55)
CIE-LCHlch(37.89, 61.86, 305.20°)
OKLaboklab(47.95% 0.0562 -0.1441)
OKLCHoklch(47.95% 0.155 291.3)
XYZxyz(14.6273, 10.0260, 40.1862)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147AC #92AC47
analogous
#475FAC #6147AC #9447AC
triadic
#6147AC #AC6147 #47AC61
tetradic
#6147AC #AC475F #92AC47 #47AC94
square
#6147AC #AC475F #92AC47 #47AC94
split-complementary
#6147AC #AC9447 #5FAC47
monochromatic
#302355 #493581 #6147AC #836DC3 #A899D5

Accessibility & contrast

On white

6.99
#6147AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6147AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6147AC#FFFFFF#000000##FFFFFF
##6147AC1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#0D57AA
Tritanopia (blue-blind)
#4C5D72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6147ac;
/* rgb */ color: rgb(97, 71, 172);
/* oklch */ color: oklch(48.0% 0.155 291.3);
Tailwind
colors: {
  custom: {
    50: '#937bc5',
    500: '#6147ac',
    950: '#000000',
  },
}
SCSS
$custom: #6147ac;
$custom-light: #937bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6147ac",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 255.446,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.15464,
    "h": 291.3
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#6147AC
secondary
#B4C18E
accent
#D156B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6147AC

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

Preview Lab → · Contrast checker → · Palette generator →

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