#6C4CED#6C4CED

#6C4CED is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.228 H 285.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6C4CED
RGBrgb(108, 76, 237)
HSLhsl(252, 82%, 61%)
HSVhsv(252, 68%, 93%)
CMYKcmyk(54.4%, 67.9%, 0%, 7.1%)
CIE-LABlab(44.90, 53.75, -76.69)
CIE-LCHlch(44.90, 93.65, 305.03°)
OKLaboklab(54.83% 0.0597 -0.2205)
OKLCHoklch(54.83% 0.228 285.1)
XYZxyz(24.0502, 14.4701, 81.6301)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CED #CDED4C
analogous
#4C7DED #6C4CED #BC4CED
triadic
#6C4CED #ED6C4C #4CED6C
tetradic
#6C4CED #ED4C7D #CDED4C #4CEDBC
square
#6C4CED #ED4C7D #CDED4C #4CEDBC
split-complementary
#6C4CED #EDBC4C #7DED4C
monochromatic
#3011AD #4017E5 #6C4CED #9A84F3 #C7BBF8

Accessibility & contrast

On white

5.39
#6C4CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6C4CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CED
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CED#FFFFFF#000000##FFFFFF
##6C4CED1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#327697
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4ced;
/* rgb */ color: rgb(108, 76, 237);
/* oklch */ color: oklch(54.8% 0.228 285.1);
Tailwind
colors: {
  custom: {
    50: '#a280f4',
    500: '#6c4ced',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ced;
$custom-light: #a280f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ced",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 251.925,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.22846,
    "h": 285.1
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#6C4CED
secondary
#DDE8AC
accent
#DE07B3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4CED

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

Preview Lab → · Contrast checker → · Palette generator →

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