#6C4FCA#6C4FCA

#6C4FCA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.182 H 289.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6C4FCA
RGBrgb(108, 79, 202)
HSLhsl(254, 54%, 55%)
HSVhsv(254, 61%, 79%)
CMYKcmyk(46.5%, 60.9%, 0%, 20.8%)
CIE-LABlab(42.83, 42.02, -60.09)
CIE-LCHlch(42.83, 73.32, 304.96°)
OKLaboklab(52.49% 0.0607 -0.1718)
OKLCHoklch(52.49% 0.182 289.5)
XYZxyz(19.6380, 13.0436, 57.3486)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FCA #ADCA4F
analogous
#4F70CA #6C4FCA #A94FCA
triadic
#6C4FCA #CA6C4F #4FCA6C
tetradic
#6C4FCA #CA4F70 #ADCA4F #4FCAA9
square
#6C4FCA #CA4F70 #ADCA4F #4FCAA9
split-complementary
#6C4FCA #CAA94F #70CA4F
monochromatic
#39257A #4F33A9 #6C4FCA #937ED8 #BBADE6

Accessibility & contrast

On white

5.82
#6C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6C4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FCA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FCA#FFFFFF#000000##FFFFFF
##6C4FCA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#4E6B85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4fca;
/* rgb */ color: rgb(108, 79, 202);
/* oklch */ color: oklch(52.5% 0.182 289.5);
Tailwind
colors: {
  custom: {
    50: '#9d82db',
    500: '#6c4fca',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fca;
$custom-light: #9d82db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fca",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 254.146,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.18216,
    "h": 289.5
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#6C4FCA
secondary
#C8D4A1
accent
#DD4BBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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