#6C2ECD#6C2ECD

#6C2ECD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.224 H 294.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6C2ECD
RGBrgb(108, 46, 205)
HSLhsl(263, 63%, 49%)
HSVhsv(263, 78%, 80%)
CMYKcmyk(47.3%, 77.6%, 0%, 19.6%)
CIE-LABlab(37.02, 59.53, -71.30)
CIE-LCHlch(37.02, 92.88, 309.86°)
OKLaboklab(48.42% 0.0909 -0.2045)
OKLCHoklch(48.42% 0.224 294)
XYZxyz(18.1777, 9.5493, 58.6312)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2ECD #8FCD2E
analogous
#2E40CD #6C2ECD #BC2ECD
triadic
#6C2ECD #CD6C2E #2ECD6C
tetradic
#6C2ECD #CD2E40 #8FCD2E #2ECDBC
square
#6C2ECD #CD2E40 #8FCD2E #2ECDBC
split-complementary
#6C2ECD #CDBC2E #40CD2E
monochromatic
#371869 #52239B #6C2ECD #8E5DDB #B18FE6

Accessibility & contrast

On white

7.22
#6C2ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6C2ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2ECD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2ECD#FFFFFF#000000##FFFFFF
##6C2ECD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#4E5B7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c2ecd;
/* rgb */ color: rgb(108, 46, 205);
/* oklch */ color: oklch(48.4% 0.224 294.0);
Tailwind
colors: {
  custom: {
    50: '#9f6edd',
    500: '#6c2ecd',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ecd;
$custom-light: #9f6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ecd",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 263.396,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.22384,
    "h": 294
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#6C2ECD
secondary
#B4D086
accent
#E641A6
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C2ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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