#6A47CD#6A47CD

#6A47CD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.196 H 289.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6A47CD
RGBrgb(106, 71, 205)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(48.3%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.18, 46.98, -64.51)
CIE-LCHlch(41.18, 79.80, 306.06°)
OKLaboklab(51.32% 0.0661 -0.1848)
OKLCHoklch(51.32% 0.196 289.7)
XYZxyz(19.2134, 11.9776, 59.0453)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47CD #AACD47
analogous
#4767CD #6A47CD #AD47CD
triadic
#6A47CD #CD6A47 #47CD6A
tetradic
#6A47CD #CD4767 #AACD47 #47CDAD
square
#6A47CD #CD4767 #AACD47 #47CDAD
split-complementary
#6A47CD #CDAD47 #67CD47
monochromatic
#382179 #4E2EA9 #6A47CD #9177DA #B8A7E7

Accessibility & contrast

On white

6.18
#6A47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47CD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47CD#FFFFFF#000000##FFFFFF
##6A47CD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#496884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a47cd;
/* rgb */ color: rgb(106, 71, 205);
/* oklch */ color: oklch(51.3% 0.196 289.7);
Tailwind
colors: {
  custom: {
    50: '#9d7cdd',
    500: '#6a47cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a47cd;
$custom-light: #9d7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47cd",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 255.672,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.19627,
    "h": 289.7
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#6A47CD
secondary
#C6D49B
accent
#E147B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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