#6A47DA#6A47DA

#6A47DA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.212 H 287.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6A47DA
RGBrgb(106, 71, 218)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 67%, 85%)
CMYKcmyk(51.4%, 67.4%, 0%, 14.5%)
CIE-LABlab(42.20, 50.67, -70.32)
CIE-LCHlch(42.20, 86.67, 305.78°)
OKLaboklab(52.37% 0.0643 -0.2019)
OKLCHoklch(52.37% 0.212 287.7)
XYZxyz(20.8483, 12.6316, 67.6557)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47DA #B7DA47
analogous
#476EDA #6A47DA #B447DA
triadic
#6A47DA #DA6A47 #47DA6A
tetradic
#6A47DA #DA476E #B7DA47 #47DAB4
square
#6A47DA #DA476E #B7DA47 #47DAB4
split-complementary
#6A47DA #DAB447 #6EDA47
monochromatic
#361C8B #4A26BE #6A47DA #937AE4 #BDADEE

Accessibility & contrast

On white

5.95
#6A47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6A47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47DA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47DA#FFFFFF#000000##FFFFFF
##6A47DA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#406C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a47da;
/* rgb */ color: rgb(106, 71, 218);
/* oklch */ color: oklch(52.4% 0.212 287.7);
Tailwind
colors: {
  custom: {
    50: '#9e7de7',
    500: '#6a47da',
    950: '#000000',
  },
}
SCSS
$custom: #6a47da;
$custom-light: #9e7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47da",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 254.286,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.21187,
    "h": 287.7
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#6A47DA
secondary
#CEDCA0
accent
#E93EC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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