#6C3FDA#6C3FDA

#6C3FDA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.221 H 289.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6C3FDA
RGBrgb(108, 63, 218)
HSLhsl(257, 68%, 55%)
HSVhsv(257, 71%, 85%)
CMYKcmyk(50.5%, 71.1%, 0%, 14.5%)
CIE-LABlab(40.90, 55.13, -72.43)
CIE-LCHlch(40.90, 91.03, 307.28°)
OKLaboklab(51.49% 0.0741 -0.208)
OKLCHoklch(51.49% 0.221 289.6)
XYZxyz(20.6131, 11.8042, 67.5084)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FDA #ADDA3F
analogous
#3F60DA #6C3FDA #B93FDA
triadic
#6C3FDA #DA6C3F #3FDA6C
tetradic
#6C3FDA #DA3F60 #ADDA3F #3FDAB9
square
#6C3FDA #DA3F60 #ADDA3F #3FDAB9
split-complementary
#6C3FDA #DAB93F #60DA3F
monochromatic
#391A85 #4F24B8 #6C3FDA #9372E4 #BBA6EE

Accessibility & contrast

On white

6.25
#6C3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6C3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FDA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FDA#FFFFFF#000000##FFFFFF
##6C3FDA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#456888
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c3fda;
/* rgb */ color: rgb(108, 63, 218);
/* oklch */ color: oklch(51.5% 0.221 289.6);
Tailwind
colors: {
  custom: {
    50: '#a078e7',
    500: '#6c3fda',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fda;
$custom-light: #a078e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fda",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 257.419,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.2208,
    "h": 289.6
  },
  "luminance": 0.11805
}

Semantic roles & 50–950 ramp

primary
#6C3FDA
secondary
#C8DB9A
accent
#EB3DB8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6C3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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