#6147DF#6147DF

#6147DF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.219 H 283.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6147DF
RGBrgb(97, 71, 223)
HSLhsl(250, 70%, 58%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(56.5%, 68.2%, 0%, 12.5%)
CIE-LABlab(41.80, 50.69, -73.85)
CIE-LCHlch(41.80, 89.57, 304.46°)
OKLaboklab(52.02% 0.0513 -0.2125)
OKLCHoklch(52.02% 0.219 283.6)
XYZxyz(20.4982, 12.3743, 71.1061)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147DF #C5DF47
analogous
#4779DF #6147DF #AD47DF
triadic
#6147DF #DF6147 #47DF61
tetradic
#6147DF #DF4779 #C5DF47 #47DFAD
square
#6147DF #DF4779 #C5DF47 #47DFAD
split-complementary
#6147DF #DFAD47 #79DF47
monochromatic
#2E1992 #3F22C6 #6147DF #8E7BE8 #BBAFF1

Accessibility & contrast

On white

6.04
#6147DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6147DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147DF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147DF#FFFFFF#000000##FFFFFF
##6147DF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#1E6F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6147df;
/* rgb */ color: rgb(97, 71, 223);
/* oklch */ color: oklch(52.0% 0.219 283.6);
Tailwind
colors: {
  custom: {
    50: '#9a7cea',
    500: '#6147df',
    950: '#000000',
  },
}
SCSS
$custom: #6147df;
$custom-light: #9a7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6147df",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 250.263,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.21865,
    "h": 283.6
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#6147DF
secondary
#D5DFA2
accent
#ED3BCF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147DF

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

Preview Lab → · Contrast checker → · Palette generator →

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