#6B4CDA#6B4CDA

#6B4CDA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.206 H 287.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6B4CDA
RGBrgb(107, 76, 218)
HSLhsl(253, 66%, 58%)
HSVhsv(253, 65%, 85%)
CMYKcmyk(50.9%, 65.1%, 0%, 14.5%)
CIE-LABlab(43.29, 48.12, -68.53)
CIE-LCHlch(43.29, 83.74, 305.08°)
OKLaboklab(53.18% 0.061 -0.1966)
OKLCHoklch(53.18% 0.206 287.2)
XYZxyz(21.2990, 13.3556, 67.7717)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CDA #BBDA4C
analogous
#4C74DA #6B4CDA #B24CDA
triadic
#6B4CDA #DA6B4C #4CDA6B
tetradic
#6B4CDA #DA4C74 #BBDA4C #4CDAB2
square
#6B4CDA #DA4C74 #BBDA4C #4CDAB2
split-complementary
#6B4CDA #DAB24C #74DA4C
monochromatic
#361D8E #4928C1 #6B4CDA #957FE4 #BFB1EF

Accessibility & contrast

On white

5.72
#6B4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6B4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CDA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CDA#FFFFFF#000000##FFFFFF
##6B4CDA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#426F8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b4cda;
/* rgb */ color: rgb(107, 76, 218);
/* oklch */ color: oklch(53.2% 0.206 287.2);
Tailwind
colors: {
  custom: {
    50: '#9f80e6',
    500: '#6b4cda',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cda;
$custom-light: #9f80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cda",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 253.099,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.20586,
    "h": 287.2
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#6B4CDA
secondary
#D1DDA4
accent
#E93FC4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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