#6D4FCA#6D4FCA

#6D4FCA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.182 H 289.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6D4FCA
RGBrgb(109, 79, 202)
HSLhsl(255, 54%, 55%)
HSVhsv(255, 61%, 79%)
CMYKcmyk(46%, 60.9%, 0%, 20.8%)
CIE-LABlab(42.92, 42.22, -59.93)
CIE-LCHlch(42.92, 73.31, 305.17°)
OKLaboklab(52.58% 0.062 -0.1713)
OKLCHoklch(52.58% 0.182 289.9)
XYZxyz(19.7603, 13.1067, 57.3543)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FCA #ACCA4F
analogous
#4F6FCA #6D4FCA #AA4FCA
triadic
#6D4FCA #CA6D4F #4FCA6D
tetradic
#6D4FCA #CA4F6F #ACCA4F #4FCAAA
square
#6D4FCA #CA4F6F #ACCA4F #4FCAAA
split-complementary
#6D4FCA #CAAA4F #6FCA4F
monochromatic
#39257A #5033A9 #6D4FCA #947ED8 #BBADE6

Accessibility & contrast

On white

5.80
#6D4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6D4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FCA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FCA#FFFFFF#000000##FFFFFF
##6D4FCA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d4fca;
/* rgb */ color: rgb(109, 79, 202);
/* oklch */ color: oklch(52.6% 0.182 289.9);
Tailwind
colors: {
  custom: {
    50: '#9d82db',
    500: '#6d4fca',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fca;
$custom-light: #9d82db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fca",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 254.634,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.18213,
    "h": 289.9
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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