#6147D3#6147D3

#6147D3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.0% C 0.204 H 285.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6147D3
RGBrgb(97, 71, 211)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 66%, 83%)
CMYKcmyk(54%, 66.4%, 0%, 17.3%)
CIE-LABlab(40.82, 47.14, -68.60)
CIE-LCHlch(40.82, 83.23, 304.49°)
OKLaboklab(51% 0.0531 -0.1971)
OKLCHoklch(51% 0.204 285.1)
XYZxyz(18.9373, 11.7500, 62.8855)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147D3 #B9D347
analogous
#4773D3 #6147D3 #A747D3
triadic
#6147D3 #D36147 #47D361
tetradic
#6147D3 #D34773 #B9D347 #47D3A7
square
#6147D3 #D34773 #B9D347 #47D3A7
split-complementary
#6147D3 #D3A747 #73D347
monochromatic
#311F81 #442BB2 #6147D3 #8B78DF #B6AAEB

Accessibility & contrast

On white

6.27
#6147D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6147D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147D3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147D3#FFFFFF#000000##FFFFFF
##6147D31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#2F6A87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6147d3;
/* rgb */ color: rgb(97, 71, 211);
/* oklch */ color: oklch(51.0% 0.204 285.1);
Tailwind
colors: {
  custom: {
    50: '#987ce2',
    500: '#6147d3',
    950: '#000000',
  },
}
SCSS
$custom: #6147d3;
$custom-light: #987ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#6147d3",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 251.143,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.20414,
    "h": 285.1
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#6147D3
secondary
#CDD89E
accent
#E543C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6147D3

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

Preview Lab → · Contrast checker → · Palette generator →

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