#6147D4#6147D4

#6147D4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.205 H 284.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6147D4
RGBrgb(97, 71, 212)
HSLhsl(251, 62%, 55%)
HSVhsv(251, 67%, 83%)
CMYKcmyk(54.2%, 66.5%, 0%, 16.9%)
CIE-LABlab(40.90, 47.43, -69.04)
CIE-LCHlch(40.90, 83.76, 304.49°)
OKLaboklab(51.08% 0.053 -0.1984)
OKLCHoklch(51.08% 0.205 284.9)
XYZxyz(19.0631, 11.8003, 63.5478)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147D4 #BAD447
analogous
#4773D4 #6147D4 #A847D4
triadic
#6147D4 #D46147 #47D461
tetradic
#6147D4 #D44773 #BAD447 #47D4A8
square
#6147D4 #D44773 #BAD447 #47D4A8
split-complementary
#6147D4 #D4A847 #73D447
monochromatic
#311E82 #432AB4 #6147D4 #8C79E0 #B6AAEB

Accessibility & contrast

On white

6.25
#6147D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6147D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147D4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147D4#FFFFFF#000000##FFFFFF
##6147D41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#2E6B87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6147d4;
/* rgb */ color: rgb(97, 71, 212);
/* oklch */ color: oklch(51.1% 0.205 284.9);
Tailwind
colors: {
  custom: {
    50: '#987ce2',
    500: '#6147d4',
    950: '#000000',
  },
}
SCSS
$custom: #6147d4;
$custom-light: #987ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#6147d4",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 251.064,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.20537,
    "h": 284.9
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#6147D4
secondary
#CED99E
accent
#E543C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6147D4

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

Preview Lab → · Contrast checker → · Palette generator →

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