#6D4ECE#6D4ECE

#6D4ECE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.188 H 289.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6D4ECE
RGBrgb(109, 78, 206)
HSLhsl(255, 57%, 56%)
HSVhsv(255, 62%, 81%)
CMYKcmyk(47.1%, 62.1%, 0%, 19.2%)
CIE-LABlab(43.00, 43.93, -62.12)
CIE-LCHlch(43.00, 76.09, 305.27°)
OKLaboklab(52.73% 0.0628 -0.1777)
OKLCHoklch(52.73% 0.188 289.5)
XYZxyz(20.1685, 13.1554, 59.8571)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ECE #AFCE4E
analogous
#4E6FCE #6D4ECE #AD4ECE
triadic
#6D4ECE #CE6D4E #4ECE6D
tetradic
#6D4ECE #CE4E6F #AFCE4E #4ECEAD
square
#6D4ECE #CE4E6F #AFCE4E #4ECEAD
split-complementary
#6D4ECE #CEAD4E #6FCE4E
monochromatic
#39237F #4F30AE #6D4ECE #957EDB #BCAEE9

Accessibility & contrast

On white

5.78
#6D4ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6D4ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4ECE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ECE#FFFFFF#000000##FFFFFF
##6D4ECE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#4E6C87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d4ece;
/* rgb */ color: rgb(109, 78, 206);
/* oklch */ color: oklch(52.7% 0.188 289.5);
Tailwind
colors: {
  custom: {
    50: '#9e81de',
    500: '#6d4ece',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ece;
$custom-light: #9e81de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ece",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 254.531,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.18848,
    "h": 289.5
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#6D4ECE
secondary
#CAD7A1
accent
#E048BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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