#6A47E4#6A47E4

#6A47E4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.224 H 286.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6A47E4
RGBrgb(106, 71, 228)
HSLhsl(253, 74%, 59%)
HSVhsv(253, 69%, 89%)
CMYKcmyk(53.5%, 68.9%, 0%, 10.6%)
CIE-LABlab(43.02, 53.51, -74.68)
CIE-LCHlch(43.02, 91.87, 305.62°)
OKLaboklab(53.21% 0.0627 -0.2147)
OKLCHoklch(53.21% 0.224 286.3)
XYZxyz(22.1965, 13.1709, 74.7564)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47E4 #C1E447
analogous
#4772E4 #6A47E4 #B847E4
triadic
#6A47E4 #E46A47 #47E46A
tetradic
#6A47E4 #E44772 #C1E447 #47E4B8
square
#6A47E4 #E44772 #C1E447 #47E4B8
split-complementary
#6A47E4 #E4B847 #72E447
monochromatic
#34179A #461ECF #6A47E4 #957CEC #C0B2F4

Accessibility & contrast

On white

5.78
#6A47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6A47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47E4#FFFFFF#000000##FFFFFF
##6A47E41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#367090
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a47e4;
/* rgb */ color: rgb(106, 71, 228);
/* oklch */ color: oklch(53.2% 0.224 286.3);
Tailwind
colors: {
  custom: {
    50: '#a07dee',
    500: '#6a47e4',
    950: '#000000',
  },
}
SCSS
$custom: #6a47e4;
$custom-light: #a07dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47e4",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 253.376,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.22364,
    "h": 286.3
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#6A47E4
secondary
#D5E2A4
accent
#F137C8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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