#6A47BC#6A47BC

#6A47BC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.175 H 292.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6A47BC
RGBrgb(106, 71, 188)
HSLhsl(258, 47%, 51%)
HSVhsv(258, 62%, 74%)
CMYKcmyk(43.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(39.92, 42.18, -56.67)
CIE-LCHlch(39.92, 70.65, 306.66°)
OKLaboklab(50.01% 0.0677 -0.1618)
OKLCHoklch(50.01% 0.175 292.7)
XYZxyz(17.2717, 11.2010, 48.8192)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47BC #99BC47
analogous
#475EBC #6A47BC #A547BC
triadic
#6A47BC #BC6A47 #47BC6A
tetradic
#6A47BC #BC475E #99BC47 #47BCA5
square
#6A47BC #BC475E #99BC47 #47BCA5
split-complementary
#6A47BC #BCA547 #5EBC47
monochromatic
#382464 #503591 #6A47BC #8E74CC #B3A1DD

Accessibility & contrast

On white

6.48
#6A47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6A47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47BC#FFFFFF#000000##FFFFFF
##6A47BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#53627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a47bc;
/* rgb */ color: rgb(106, 71, 188);
/* oklch */ color: oklch(50.0% 0.175 292.7);
Tailwind
colors: {
  custom: {
    50: '#9b7cd1',
    500: '#6a47bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a47bc;
$custom-light: #9b7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47bc",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 257.949,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.17536,
    "h": 292.7
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#6A47BC
secondary
#BAC995
accent
#D652AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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