#6D54CD#6D54CD

#6D54CD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.179 H 288.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6D54CD
RGBrgb(109, 84, 205)
HSLhsl(252, 55%, 57%)
HSVhsv(252, 59%, 80%)
CMYKcmyk(46.8%, 59%, 0%, 19.6%)
CIE-LABlab(44.23, 40.20, -59.54)
CIE-LCHlch(44.23, 71.85, 304.03°)
OKLaboklab(53.61% 0.0564 -0.1701)
OKLCHoklch(53.61% 0.179 288.3)
XYZxyz(20.4933, 13.9988, 59.3680)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54CD #B4CD54
analogous
#5478CD #6D54CD #AA54CD
triadic
#6D54CD #CD6D54 #54CD6D
tetradic
#6D54CD #CD5478 #B4CD54 #54CDAA
square
#6D54CD #CD5478 #B4CD54 #54CDAA
split-complementary
#6D54CD #CDAA54 #78CD54
monochromatic
#392681 #4D34B0 #6D54CD #9583DB #BEB3E9

Accessibility & contrast

On white

5.53
#6D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54CD#FFFFFF#000000##FFFFFF
##6D54CD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#4E7088
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d54cd;
/* rgb */ color: rgb(109, 84, 205);
/* oklch */ color: oklch(53.6% 0.179 288.3);
Tailwind
colors: {
  custom: {
    50: '#9e85dd',
    500: '#6d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d54cd;
$custom-light: #9e85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54cd",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 252.397,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.17921,
    "h": 288.3
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

primary
#6D54CD
secondary
#CDD7A6
accent
#DE4ABF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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