#6C3ECA#6C3ECA

#6C3ECA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.204 H 292.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6C3ECA
RGBrgb(108, 62, 202)
HSLhsl(260, 57%, 52%)
HSVhsv(260, 69%, 79%)
CMYKcmyk(46.5%, 69.3%, 0%, 20.8%)
CIE-LABlab(39.41, 51.28, -65.65)
CIE-LCHlch(39.41, 83.31, 307.99°)
OKLaboklab(50.02% 0.0781 -0.1881)
OKLCHoklch(50.02% 0.204 292.5)
XYZxyz(18.5647, 10.8970, 56.9909)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ECA #9CCA3E
analogous
#3E56CA #6C3ECA #B23ECA
triadic
#6C3ECA #CA6C3E #3ECA6C
tetradic
#6C3ECA #CA3E56 #9CCA3E #3ECAB2
square
#6C3ECA #CA3E56 #9CCA3E #3ECAB2
split-complementary
#6C3ECA #CAB23E #56CA3E
monochromatic
#391F6F #522C9F #6C3ECA #916ED7 #B59EE4

Accessibility & contrast

On white

6.60
#6C3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6C3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3ECA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ECA#FFFFFF#000000##FFFFFF
##6C3ECA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#4F617F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6c3eca;
/* rgb */ color: rgb(108, 62, 202);
/* oklch */ color: oklch(50.0% 0.204 292.5);
Tailwind
colors: {
  custom: {
    50: '#9e77db',
    500: '#6c3eca',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eca;
$custom-light: #9e77db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eca",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 259.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.20364,
    "h": 292.5
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#6C3ECA
secondary
#BCD193
accent
#E048AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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