#6147CE#6147CE

#6147CE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.198 H 285.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6147CE
RGBrgb(97, 71, 206)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 66%, 81%)
CMYKcmyk(52.9%, 65.5%, 0%, 19.2%)
CIE-LABlab(40.42, 45.66, -66.37)
CIE-LCHlch(40.42, 80.56, 304.52°)
OKLaboklab(50.59% 0.0537 -0.1906)
OKLCHoklch(50.59% 0.198 285.7)
XYZxyz(18.3202, 11.5031, 59.6355)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147CE #B4CE47
analogous
#4770CE #6147CE #A547CE
triadic
#6147CE #CE6147 #47CE61
tetradic
#6147CE #CE4770 #B4CE47 #47CEA5
square
#6147CE #CE4770 #B4CE47 #47CEA5
split-complementary
#6147CE #CEA547 #70CE47
monochromatic
#32217A #452DAA #6147CE #8B77DB #B4A8E8

Accessibility & contrast

On white

6.36
#6147CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6147CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147CE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147CE#FFFFFF#000000##FFFFFF
##6147CE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#346984
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6147ce;
/* rgb */ color: rgb(97, 71, 206);
/* oklch */ color: oklch(50.6% 0.198 285.7);
Tailwind
colors: {
  custom: {
    50: '#977cde',
    500: '#6147ce',
    950: '#000000',
  },
}
SCSS
$custom: #6147ce;
$custom-light: #977cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6147ce",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 251.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.198,
    "h": 285.7
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#6147CE
secondary
#CAD59C
accent
#E147C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6147CE

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

Preview Lab → · Contrast checker → · Palette generator →

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