#6A47CA#6A47CA

#6A47CA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.193 H 290.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6A47CA
RGBrgb(106, 71, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 65%, 79%)
CMYKcmyk(47.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.95, 46.13, -63.14)
CIE-LCHlch(40.95, 78.20, 306.15°)
OKLaboklab(51.08% 0.0664 -0.1808)
OKLCHoklch(51.08% 0.193 290.2)
XYZxyz(18.8547, 11.8342, 57.1564)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47CA #A7CA47
analogous
#4765CA #6A47CA #AC47CA
triadic
#6A47CA #CA6A47 #47CA6A
tetradic
#6A47CA #CA4765 #A7CA47 #47CAAC
square
#6A47CA #CA4765 #A7CA47 #47CAAC
split-complementary
#6A47CA #CAAC47 #65CA47
monochromatic
#382275 #4F2FA4 #6A47CA #9077D8 #B7A6E5

Accessibility & contrast

On white

6.24
#6A47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47CA#FFFFFF#000000##FFFFFF
##6A47CA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#4B6782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a47ca;
/* rgb */ color: rgb(106, 71, 202);
/* oklch */ color: oklch(51.1% 0.193 290.2);
Tailwind
colors: {
  custom: {
    50: '#9c7cdb',
    500: '#6a47ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a47ca;
$custom-light: #9c7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47ca",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 256.031,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.19262,
    "h": 290.2
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#6A47CA
secondary
#C3D29A
accent
#DF49B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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