#6147D8#6147D8

#6147D8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.210 H 284.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6147D8
RGBrgb(97, 71, 216)
HSLhsl(251, 65%, 56%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(55.1%, 67.1%, 0%, 15.3%)
CIE-LABlab(41.22, 48.62, -70.80)
CIE-LCHlch(41.22, 85.89, 304.47°)
OKLaboklab(51.42% 0.0524 -0.2036)
OKLCHoklch(51.42% 0.21 284.4)
XYZxyz(19.5739, 12.0046, 66.2381)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147D8 #BED847
analogous
#4776D8 #6147D8 #AA47D8
triadic
#6147D8 #D86147 #47D861
tetradic
#6147D8 #D84776 #BED847 #47D8AA
square
#6147D8 #D84776 #BED847 #47D8AA
split-complementary
#6147D8 #D8AA47 #76D847
monochromatic
#301D88 #4227BA #6147D8 #8C79E3 #B8ACED

Accessibility & contrast

On white

6.17
#6147D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6147D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6147D8#FFFFFF#000000##FFFFFF
##6147D81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#296C8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6147d8;
/* rgb */ color: rgb(97, 71, 216);
/* oklch */ color: oklch(51.4% 0.210 284.4);
Tailwind
colors: {
  custom: {
    50: '#997ce5',
    500: '#6147d8',
    950: '#000000',
  },
}
SCSS
$custom: #6147d8;
$custom-light: #997ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6147d8",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 250.759,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.21023,
    "h": 284.4
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

primary
#6147D8
secondary
#D1DBA0
accent
#E840CA
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147D8

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

Preview Lab → · Contrast checker → · Palette generator →

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