#6147CF#6147CF

#6147CF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.199 H 285.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6147CF
RGBrgb(97, 71, 207)
HSLhsl(251, 59%, 55%)
HSVhsv(251, 66%, 81%)
CMYKcmyk(53.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.49, 45.95, -66.82)
CIE-LCHlch(40.49, 81.09, 304.52°)
OKLaboklab(50.67% 0.0536 -0.1919)
OKLCHoklch(50.67% 0.199 285.6)
XYZxyz(18.4421, 11.5519, 60.2774)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147CF #B5CF47
analogous
#4771CF #6147CF #A547CF
triadic
#6147CF #CF6147 #47CF61
tetradic
#6147CF #CF4771 #B5CF47 #47CFA5
square
#6147CF #CF4771 #B5CF47 #47CFA5
split-complementary
#6147CF #CFA547 #71CF47
monochromatic
#32207B #452DAC #6147CF #8B78DC #B4A8E8

Accessibility & contrast

On white

6.34
#6147CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6147CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147CF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147CF#FFFFFF#000000##FFFFFF
##6147CF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#336985
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6147cf;
/* rgb */ color: rgb(97, 71, 207);
/* oklch */ color: oklch(50.7% 0.199 285.6);
Tailwind
colors: {
  custom: {
    50: '#987cdf',
    500: '#6147cf',
    950: '#000000',
  },
}
SCSS
$custom: #6147cf;
$custom-light: #987cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6147cf",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 251.471,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.19923,
    "h": 285.6
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#6147CF
secondary
#CBD69C
accent
#E246C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6147CF

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

Preview Lab → · Contrast checker → · Palette generator →

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