#6147C8#6147C8

#6147C8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.191 H 286.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6147C8
RGBrgb(97, 71, 200)
HSLhsl(252, 54%, 53%)
HSVhsv(252, 65%, 78%)
CMYKcmyk(51.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(39.94, 43.88, -63.66)
CIE-LCHlch(39.94, 77.32, 304.58°)
OKLaboklab(50.1% 0.0544 -0.1826)
OKLCHoklch(50.1% 0.191 286.6)
XYZxyz(17.6052, 11.2171, 55.8698)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147C8 #AEC847
analogous
#476DC8 #6147C8 #A147C8
triadic
#6147C8 #C86147 #47C861
tetradic
#6147C8 #C8476D #AEC847 #47C8A1
square
#6147C8 #C8476D #AEC847 #47C8A1
split-complementary
#6147C8 #C8A147 #6DC847
monochromatic
#322272 #4730A2 #6147C8 #8976D6 #B2A5E4

Accessibility & contrast

On white

6.47
#6147C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6147C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147C8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147C8#FFFFFF#000000##FFFFFF
##6147C81.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#3A6781
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6147c8;
/* rgb */ color: rgb(97, 71, 200);
/* oklch */ color: oklch(50.1% 0.191 286.6);
Tailwind
colors: {
  custom: {
    50: '#977cda',
    500: '#6147c8',
    950: '#000000',
  },
}
SCSS
$custom: #6147c8;
$custom-light: #977cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6147c8",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 252.093,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.19056,
    "h": 286.6
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#6147C8
secondary
#C6D19A
accent
#DD4AC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6147C8

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

Preview Lab → · Contrast checker → · Palette generator →

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