#6B54CD#6B54CD

#6B54CD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.179 H 287.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6B54CD
RGBrgb(107, 84, 205)
HSLhsl(251, 55%, 57%)
HSVhsv(251, 59%, 80%)
CMYKcmyk(47.8%, 59%, 0%, 19.6%)
CIE-LABlab(44.05, 39.79, -59.84)
CIE-LCHlch(44.05, 71.87, 303.62°)
OKLaboklab(53.43% 0.0538 -0.171)
OKLCHoklch(53.43% 0.179 287.5)
XYZxyz(20.2500, 13.8733, 59.3566)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54CD #B6CD54
analogous
#547ACD #6B54CD #A854CD
triadic
#6B54CD #CD6B54 #54CD6B
tetradic
#6B54CD #CD547A #B6CD54 #54CDA8
square
#6B54CD #CD547A #B6CD54 #54CDA8
split-complementary
#6B54CD #CDA854 #7ACD54
monochromatic
#372681 #4B34B0 #6B54CD #9483DB #BDB3E9

Accessibility & contrast

On white

5.56
#6B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6B54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54CD#FFFFFF#000000##FFFFFF
##6B54CD1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b54cd;
/* rgb */ color: rgb(107, 84, 205);
/* oklch */ color: oklch(53.4% 0.179 287.5);
Tailwind
colors: {
  custom: {
    50: '#9c85dd',
    500: '#6b54cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b54cd;
$custom-light: #9c85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54cd",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 251.405,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.17931,
    "h": 287.5
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#6B54CD
secondary
#CED7A6
accent
#DE4AC2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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