#6B4CCD#6B4CCD

#6B4CCD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.190 H 289.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6B4CCD
RGBrgb(107, 76, 205)
HSLhsl(254, 56%, 55%)
HSVhsv(254, 63%, 80%)
CMYKcmyk(47.8%, 62.9%, 0%, 19.6%)
CIE-LABlab(42.31, 44.38, -62.67)
CIE-LCHlch(42.31, 76.79, 305.31°)
OKLaboklab(52.16% 0.0623 -0.1794)
OKLCHoklch(52.16% 0.19 289.2)
XYZxyz(19.6641, 12.7017, 59.1613)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CCD #AECD4C
analogous
#4C6DCD #6B4CCD #AC4CCD
triadic
#6B4CCD #CD6B4C #4CCD6B
tetradic
#6B4CCD #CD4C6D #AECD4C #4CCDAC
square
#6B4CCD #CD4C6D #AECD4C #4CCDAC
split-complementary
#6B4CCD #CDAC4C #6DCD4C
monochromatic
#38237C #4E30AC #6B4CCD #937CDA #BAACE8

Accessibility & contrast

On white

5.93
#6B4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B4CCD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CCD#FFFFFF#000000##FFFFFF
##6B4CCD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#4B6B85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4ccd;
/* rgb */ color: rgb(107, 76, 205);
/* oklch */ color: oklch(52.2% 0.190 289.2);
Tailwind
colors: {
  custom: {
    50: '#9d80dd',
    500: '#6b4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ccd;
$custom-light: #9d80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ccd",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 254.419,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.18989,
    "h": 289.2
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#6B4CCD
secondary
#C8D59F
accent
#E048BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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