#6C4FEA#6C4FEA

#6C4FEA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.222 H 285.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C4FEA
RGBrgb(108, 79, 234)
HSLhsl(251, 79%, 61%)
HSVhsv(251, 66%, 92%)
CMYKcmyk(53.8%, 66.2%, 0%, 8.2%)
CIE-LABlab(45.25, 51.27, -74.43)
CIE-LCHlch(45.25, 90.38, 304.56°)
OKLaboklab(55% 0.0576 -0.2139)
OKLCHoklch(55% 0.222 285.1)
XYZxyz(23.8271, 14.7193, 79.4115)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FEA #CDEA4F
analogous
#4F80EA #6C4FEA #BA4FEA
triadic
#6C4FEA #EA6C4F #4FEA6C
tetradic
#6C4FEA #EA4F80 #CDEA4F #4FEABA
square
#6C4FEA #EA4F80 #CDEA4F #4FEABA
split-complementary
#6C4FEA #EABA4F #80EA4F
monochromatic
#3014AA #401BE1 #6C4FEA #9A86F1 #C7BCF7

Accessibility & contrast

On white

5.32
#6C4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6C4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FEA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FEA#FFFFFF#000000##FFFFFF
##6C4FEA1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#357696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c4fea;
/* rgb */ color: rgb(108, 79, 234);
/* oklch */ color: oklch(55.0% 0.222 285.1);
Tailwind
colors: {
  custom: {
    50: '#a182f2',
    500: '#6c4fea',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fea;
$custom-light: #a182f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fea",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 251.226,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.22151,
    "h": 285.1
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#6C4FEA
secondary
#DDE7AD
accent
#DB0BB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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