#6A47CB#6A47CB

#6A47CB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.194 H 290.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6A47CB
RGBrgb(106, 71, 203)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(47.8%, 65%, 0%, 20.4%)
CIE-LABlab(41.03, 46.41, -63.60)
CIE-LCHlch(41.03, 78.73, 306.12°)
OKLaboklab(51.16% 0.0663 -0.1821)
OKLCHoklch(51.16% 0.194 290)
XYZxyz(18.9735, 11.8817, 57.7820)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47CB #A8CB47
analogous
#4766CB #6A47CB #AC47CB
triadic
#6A47CB #CB6A47 #47CB6A
tetradic
#6A47CB #CB4766 #A8CB47 #47CBAC
square
#6A47CB #CB4766 #A8CB47 #47CBAC
split-complementary
#6A47CB #CBAC47 #66CB47
monochromatic
#382176 #4E2FA6 #6A47CB #9177D8 #B7A6E6

Accessibility & contrast

On white

6.22
#6A47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6A47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47CB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47CB#FFFFFF#000000##FFFFFF
##6A47CB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#4A6783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a47cb;
/* rgb */ color: rgb(106, 71, 203);
/* oklch */ color: oklch(51.2% 0.194 290.0);
Tailwind
colors: {
  custom: {
    50: '#9c7cdc',
    500: '#6a47cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a47cb;
$custom-light: #9c7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47cb",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 255.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.19383,
    "h": 290
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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