#6A47DD#6A47DD

#6A47DD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.215 H 287.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6A47DD
RGBrgb(106, 71, 221)
HSLhsl(254, 69%, 57%)
HSVhsv(254, 68%, 87%)
CMYKcmyk(52%, 67.9%, 0%, 13.3%)
CIE-LABlab(42.45, 51.52, -71.63)
CIE-LCHlch(42.45, 88.24, 305.72°)
OKLaboklab(52.62% 0.0638 -0.2057)
OKLCHoklch(52.62% 0.215 287.2)
XYZxyz(21.2444, 12.7900, 69.7419)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47DD #BADD47
analogous
#476FDD #6A47DD #B547DD
triadic
#6A47DD #DD6A47 #47DD6A
tetradic
#6A47DD #DD476F #BADD47 #47DDB5
square
#6A47DD #DD476F #BADD47 #47DDB5
split-complementary
#6A47DD #DDB547 #6FDD47
monochromatic
#361A8F #4924C3 #6A47DD #947BE7 #BEAEF0

Accessibility & contrast

On white

5.90
#6A47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6A47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47DD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47DD#FFFFFF#000000##FFFFFF
##6A47DD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#3D6D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a47dd;
/* rgb */ color: rgb(106, 71, 221);
/* oklch */ color: oklch(52.6% 0.215 287.2);
Tailwind
colors: {
  custom: {
    50: '#9f7de9',
    500: '#6a47dd',
    950: '#000000',
  },
}
SCSS
$custom: #6a47dd;
$custom-light: #9f7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47dd",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 254,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.21542,
    "h": 287.2
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#6A47DD
secondary
#D0DEA2
accent
#EC3CC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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