#6147CB#6147CB

#6147CB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.194 H 286.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6147CB
RGBrgb(97, 71, 203)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52.2%, 65%, 0%, 20.4%)
CIE-LABlab(40.18, 44.77, -65.02)
CIE-LCHlch(40.18, 78.94, 304.55°)
OKLaboklab(50.34% 0.0541 -0.1866)
OKLCHoklch(50.34% 0.194 286.2)
XYZxyz(17.9593, 11.3587, 57.7345)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147CB #B1CB47
analogous
#476FCB #6147CB #A347CB
triadic
#6147CB #CB6147 #47CB61
tetradic
#6147CB #CB476F #B1CB47 #47CBA3
square
#6147CB #CB476F #B1CB47 #47CBA3
split-complementary
#6147CB #CBA347 #6FCB47
monochromatic
#322176 #462FA6 #6147CB #8A77D8 #B3A6E6

Accessibility & contrast

On white

6.42
#6147CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6147CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147CB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147CB#FFFFFF#000000##FFFFFF
##6147CB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#376883
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6147cb;
/* rgb */ color: rgb(97, 71, 203);
/* oklch */ color: oklch(50.3% 0.194 286.2);
Tailwind
colors: {
  custom: {
    50: '#977cdc',
    500: '#6147cb',
    950: '#000000',
  },
}
SCSS
$custom: #6147cb;
$custom-light: #977cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6147cb",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 251.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.19429,
    "h": 286.2
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#6147CB
secondary
#C8D39B
accent
#DF49C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6147CB

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

Preview Lab → · Contrast checker → · Palette generator →

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