#6A47CF#6A47CF

#6A47CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.199 H 289.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6A47CF
RGBrgb(106, 71, 207)
HSLhsl(255, 59%, 55%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(48.8%, 65.7%, 0%, 18.8%)
CIE-LABlab(41.33, 47.54, -65.41)
CIE-LCHlch(41.33, 80.86, 306.01°)
OKLaboklab(51.48% 0.0658 -0.1875)
OKLCHoklch(51.48% 0.199 289.3)
XYZxyz(19.4563, 12.0748, 60.3249)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47CF #ACCF47
analogous
#4768CF #6A47CF #AE47CF
triadic
#6A47CF #CF6A47 #47CF6A
tetradic
#6A47CF #CF4768 #ACCF47 #47CFAE
square
#6A47CF #CF4768 #ACCF47 #47CFAE
split-complementary
#6A47CF #CFAE47 #68CF47
monochromatic
#38207B #4E2DAC #6A47CF #9178DC #B9A8E8

Accessibility & contrast

On white

6.15
#6A47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6A47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47CF#FFFFFF#000000##FFFFFF
##6A47CF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#486885
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a47cf;
/* rgb */ color: rgb(106, 71, 207);
/* oklch */ color: oklch(51.5% 0.199 289.3);
Tailwind
colors: {
  custom: {
    50: '#9d7cdf',
    500: '#6a47cf',
    950: '#000000',
  },
}
SCSS
$custom: #6a47cf;
$custom-light: #9d7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47cf",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 255.441,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.19869,
    "h": 289.3
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#6A47CF
secondary
#C7D69C
accent
#E246BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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