#6C3CE2#6C3CE2

#6C3CE2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.233 H 288.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6C3CE2
RGBrgb(108, 60, 226)
HSLhsl(257, 74%, 56%)
HSVhsv(257, 73%, 89%)
CMYKcmyk(52.2%, 73.5%, 0%, 11.4%)
CIE-LABlab(41.07, 58.76, -76.73)
CIE-LCHlch(41.07, 96.64, 307.45°)
OKLaboklab(51.82% 0.0747 -0.2206)
OKLCHoklch(51.82% 0.233 288.7)
XYZxyz(21.5237, 11.9098, 73.1015)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CE2 #B2E23C
analogous
#3C5FE2 #6C3CE2 #BF3CE2
triadic
#6C3CE2 #E26C3C #3CE26C
tetradic
#6C3CE2 #E23C5F #B2E23C #3CE2BF
square
#6C3CE2 #E23C5F #B2E23C #3CE2BF
split-complementary
#6C3CE2 #E2BF3C #5FE23C
monochromatic
#38158E #4D1DC4 #6C3CE2 #9471EA #BCA7F2

Accessibility & contrast

On white

6.21
#6C3CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6C3CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3CE2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CE2#FFFFFF#000000##FFFFFF
##6C3CE21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#3E698C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c3ce2;
/* rgb */ color: rgb(108, 60, 226);
/* oklch */ color: oklch(51.8% 0.233 288.7);
Tailwind
colors: {
  custom: {
    50: '#a177ec',
    500: '#6c3ce2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ce2;
$custom-light: #a177ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ce2",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 226
  },
  "hsl": {
    "h": 257.349,
    "s": 74.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.23289,
    "h": 288.7
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#6C3CE2
secondary
#CBDF9B
accent
#F137BB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6C3CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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