#6A47DB#6A47DB

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

Color values

HEX#6A47DB
RGBrgb(106, 71, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(51.6%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.28, 50.95, -70.76)
CIE-LCHlch(42.28, 87.19, 305.76°)
OKLaboklab(52.46% 0.0641 -0.2032)
OKLCHoklch(52.46% 0.213 287.5)
XYZxyz(20.9795, 12.6841, 68.3469)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47DB #B8DB47
analogous
#476EDB #6A47DB #B447DB
triadic
#6A47DB #DB6A47 #47DB6A
tetradic
#6A47DB #DB476E #B8DB47 #47DBB4
square
#6A47DB #DB476E #B8DB47 #47DBB4
split-complementary
#6A47DB #DBB447 #6EDB47
monochromatic
#361B8C #4A25BF #6A47DB #937AE5 #BDADEF

Accessibility & contrast

On white

5.94
#6A47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6A47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47DB#FFFFFF#000000##FFFFFF
##6A47DB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#3F6D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a47db;
/* rgb */ color: rgb(106, 71, 219);
/* oklch */ color: oklch(52.5% 0.213 287.5);
Tailwind
colors: {
  custom: {
    50: '#9e7de7',
    500: '#6a47db',
    950: '#000000',
  },
}
SCSS
$custom: #6a47db;
$custom-light: #9e7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47db",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 254.189,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.21305,
    "h": 287.5
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#6A47DB
secondary
#CFDDA1
accent
#EA3EC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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