#6147B2#6147B2

#6147B2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.4% C 0.163 H 290.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6147B2
RGBrgb(97, 71, 178)
HSLhsl(255, 43%, 49%)
HSVhsv(255, 60%, 70%)
CMYKcmyk(45.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(38.31, 37.41, -53.43)
CIE-LCHlch(38.31, 65.22, 305.00°)
OKLaboklab(48.39% 0.0561 -0.1525)
OKLCHoklch(48.39% 0.163 290.2)
XYZxyz(15.2166, 10.2617, 43.2898)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147B2 #98B247
analogous
#4763B2 #6147B2 #9747B2
triadic
#6147B2 #B26147 #47B261
tetradic
#6147B2 #B24763 #98B247 #47B297
square
#6147B2 #B24763 #98B247 #47B297
split-complementary
#6147B2 #B29747 #63B247
monochromatic
#31245B #493686 #6147B2 #8570C6 #AA9CD7

Accessibility & contrast

On white

6.88
#6147B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6147B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6147B2#FFFFFF#000000##FFFFFF
##6147B21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#485F75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6147b2;
/* rgb */ color: rgb(97, 71, 178);
/* oklch */ color: oklch(48.4% 0.163 290.2);
Tailwind
colors: {
  custom: {
    50: '#947bca',
    500: '#6147b2',
    950: '#000000',
  },
}
SCSS
$custom: #6147b2;
$custom-light: #947bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6147b2",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 254.579,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.1625,
    "h": 290.2
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#6147B2
secondary
#B7C491
accent
#D355B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6147B2

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

Preview Lab → · Contrast checker → · Palette generator →

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