#6A47DC#6A47DC

#6A47DC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.214 H 287.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6A47DC
RGBrgb(106, 71, 220)
HSLhsl(254, 68%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(51.8%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.36, 51.24, -71.20)
CIE-LCHlch(42.36, 87.72, 305.74°)
OKLaboklab(52.54% 0.064 -0.2045)
OKLCHoklch(52.54% 0.214 287.4)
XYZxyz(21.1116, 12.7369, 69.0423)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47DC #B9DC47
analogous
#476FDC #6A47DC #B547DC
triadic
#6A47DC #DC6A47 #47DC6A
tetradic
#6A47DC #DC476F #B9DC47 #47DCB5
square
#6A47DC #DC476F #B9DC47 #47DCB5
split-complementary
#6A47DC #DCB547 #6FDC47
monochromatic
#361B8E #4925C1 #6A47DC #947AE6 #BDAEF0

Accessibility & contrast

On white

5.92
#6A47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6A47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47DC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47DC#FFFFFF#000000##FFFFFF
##6A47DC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#3E6D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a47dc;
/* rgb */ color: rgb(106, 71, 220);
/* oklch */ color: oklch(52.5% 0.214 287.4);
Tailwind
colors: {
  custom: {
    50: '#9f7de8',
    500: '#6a47dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a47dc;
$custom-light: #9f7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47dc",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 254.094,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.21424,
    "h": 287.4
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#6A47DC
secondary
#CFDEA1
accent
#EB3DC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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