#6147D5#6147D5

#6147D5 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.2% C 0.207 H 284.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6147D5
RGBrgb(97, 71, 213)
HSLhsl(251, 63%, 56%)
HSVhsv(251, 67%, 84%)
CMYKcmyk(54.5%, 66.7%, 0%, 16.5%)
CIE-LABlab(40.98, 47.73, -69.48)
CIE-LCHlch(40.98, 84.30, 304.49°)
OKLaboklab(51.17% 0.0528 -0.1997)
OKLCHoklch(51.17% 0.207 284.8)
XYZxyz(19.1896, 11.8509, 64.2142)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147D5 #BBD547
analogous
#4774D5 #6147D5 #A847D5
triadic
#6147D5 #D56147 #47D561
tetradic
#6147D5 #D54774 #BBD547 #47D5A8
square
#6147D5 #D54774 #BBD547 #47D5A8
split-complementary
#6147D5 #D5A847 #74D547
monochromatic
#311E84 #4329B5 #6147D5 #8C79E0 #B7ABEC

Accessibility & contrast

On white

6.23
#6147D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6147D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6147D5#FFFFFF#000000##FFFFFF
##6147D51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#2D6B88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6147d5;
/* rgb */ color: rgb(97, 71, 213);
/* oklch */ color: oklch(51.2% 0.207 284.8);
Tailwind
colors: {
  custom: {
    50: '#997ce3',
    500: '#6147d5',
    950: '#000000',
  },
}
SCSS
$custom: #6147d5;
$custom-light: #997ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#6147d5",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 250.986,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.20658,
    "h": 284.8
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#6147D5
secondary
#CFD99E
accent
#E642C8
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147D5

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

Preview Lab → · Contrast checker → · Palette generator →

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