#6D47E9#6D47E9

#6D47E9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.229 H 286.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6D47E9
RGBrgb(109, 71, 233)
HSLhsl(254, 79%, 60%)
HSVhsv(254, 70%, 91%)
CMYKcmyk(53.2%, 69.5%, 0%, 8.6%)
CIE-LABlab(43.71, 55.38, -76.37)
CIE-LCHlch(43.71, 94.34, 305.95°)
OKLaboklab(53.9% 0.0659 -0.2195)
OKLCHoklch(53.9% 0.229 286.7)
XYZxyz(23.2635, 13.6397, 78.4819)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47E9 #C3E947
analogous
#4772E9 #6D47E9 #BE47E9
triadic
#6D47E9 #E96D47 #47E96D
tetradic
#6D47E9 #E94772 #C3E947 #47E9BE
square
#6D47E9 #E94772 #C3E947 #47E9BE
split-complementary
#6D47E9 #E9BE47 #72E947
monochromatic
#3513A2 #471AD9 #6D47E9 #987EF0 #C4B4F6

Accessibility & contrast

On white

5.63
#6D47E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6D47E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47E9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47E9#FFFFFF#000000##FFFFFF
##6D47E91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#397293
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d47e9;
/* rgb */ color: rgb(109, 71, 233);
/* oklch */ color: oklch(53.9% 0.229 286.7);
Tailwind
colors: {
  custom: {
    50: '#a27df1',
    500: '#6d47e9',
    950: '#000000',
  },
}
SCSS
$custom: #6d47e9;
$custom-light: #a27df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47e9",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 233
  },
  "hsl": {
    "h": 254.074,
    "s": 78.641,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.22922,
    "h": 286.7
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#6D47E9
secondary
#D7E5A6
accent
#F533C8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D47E9

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

Preview Lab → · Contrast checker → · Palette generator →

#6D47E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva