#6147D2#6147D2

#6147D2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 50.9% C 0.203 H 285.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6147D2
RGBrgb(97, 71, 210)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 66%, 82%)
CMYKcmyk(53.8%, 66.2%, 0%, 17.6%)
CIE-LABlab(40.74, 46.84, -68.15)
CIE-LCHlch(40.74, 82.70, 304.50°)
OKLaboklab(50.92% 0.0532 -0.1958)
OKLCHoklch(50.92% 0.203 285.2)
XYZxyz(18.8124, 11.7000, 62.2273)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147D2 #B8D247
analogous
#4772D2 #6147D2 #A747D2
triadic
#6147D2 #D26147 #47D261
tetradic
#6147D2 #D24772 #B8D247 #47D2A7
square
#6147D2 #D24772 #B8D247 #47D2A7
split-complementary
#6147D2 #D2A747 #72D247
monochromatic
#311F7F #442BB1 #6147D2 #8B78DE #B5A9EA

Accessibility & contrast

On white

6.29
#6147D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6147D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147D2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147D2#FFFFFF#000000##FFFFFF
##6147D21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#306A86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6147d2;
/* rgb */ color: rgb(97, 71, 210);
/* oklch */ color: oklch(50.9% 0.203 285.2);
Tailwind
colors: {
  custom: {
    50: '#987ce1',
    500: '#6147d2',
    950: '#000000',
  },
}
SCSS
$custom: #6147d2;
$custom-light: #987ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6147d2",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 251.223,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.20292,
    "h": 285.2
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#6147D2
secondary
#CDD89D
accent
#E444C6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6147D2

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

Preview Lab → · Contrast checker → · Palette generator →

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