#6D4CDA#6D4CDA

#6D4CDA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.206 H 288.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6D4CDA
RGBrgb(109, 76, 218)
HSLhsl(254, 66%, 58%)
HSVhsv(254, 65%, 85%)
CMYKcmyk(50%, 65.1%, 0%, 14.5%)
CIE-LABlab(43.48, 48.47, -68.22)
CIE-LCHlch(43.48, 83.69, 305.40°)
OKLaboklab(53.36% 0.0637 -0.1956)
OKLCHoklch(53.36% 0.206 288)
XYZxyz(21.5423, 13.4811, 67.7831)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4CDA #B9DA4C
analogous
#4C72DA #6D4CDA #B44CDA
triadic
#6D4CDA #DA6D4C #4CDA6D
tetradic
#6D4CDA #DA4C72 #B9DA4C #4CDAB4
square
#6D4CDA #DA4C72 #B9DA4C #4CDAB4
split-complementary
#6D4CDA #DAB44C #72DA4C
monochromatic
#381D8E #4B28C1 #6D4CDA #967FE4 #C0B1EF

Accessibility & contrast

On white

5.68
#6D4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6D4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4CDA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4CDA#FFFFFF#000000##FFFFFF
##6D4CDA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#466F8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d4cda;
/* rgb */ color: rgb(109, 76, 218);
/* oklch */ color: oklch(53.4% 0.206 288.0);
Tailwind
colors: {
  custom: {
    50: '#a080e6',
    500: '#6d4cda',
    950: '#000000',
  },
}
SCSS
$custom: #6d4cda;
$custom-light: #a080e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4cda",
  "rgb": {
    "r": 109,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 253.944,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.20573,
    "h": 288
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#6D4CDA
secondary
#D0DDA4
accent
#E93FC1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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