#6A47E8#6A47E8

#6A47E8 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.228 H 285.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6A47E8
RGBrgb(106, 71, 232)
HSLhsl(253, 78%, 59%)
HSVhsv(253, 69%, 91%)
CMYKcmyk(54.3%, 69.4%, 0%, 9%)
CIE-LABlab(43.35, 54.65, -76.40)
CIE-LCHlch(43.35, 93.93, 305.58°)
OKLaboklab(53.55% 0.062 -0.2197)
OKLCHoklch(53.55% 0.228 285.7)
XYZxyz(22.7582, 13.3956, 77.7147)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47E8 #C5E847
analogous
#4775E8 #6A47E8 #BA47E8
triadic
#6A47E8 #E86A47 #47E86A
tetradic
#6A47E8 #E84775 #C5E847 #47E8BA
square
#6A47E8 #E84775 #C5E847 #47E8BA
split-complementary
#6A47E8 #E8BA47 #75E847
monochromatic
#3314A1 #441BD7 #6A47E8 #967DEF #C2B4F6

Accessibility & contrast

On white

5.71
#6A47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6A47E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47E8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47E8#FFFFFF#000000##FFFFFF
##6A47E81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#327192
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a47e8;
/* rgb */ color: rgb(106, 71, 232);
/* oklch */ color: oklch(53.5% 0.228 285.7);
Tailwind
colors: {
  custom: {
    50: '#a07df1',
    500: '#6a47e8',
    950: '#000000',
  },
}
SCSS
$custom: #6a47e8;
$custom-light: #a07df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47e8",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 253.043,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.2283,
    "h": 285.7
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A47E8

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

Preview Lab → · Contrast checker → · Palette generator →

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