#6B56CD#6B56CD

#6B56CD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.177 H 287.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6B56CD
RGBrgb(107, 86, 205)
HSLhsl(251, 54%, 57%)
HSVhsv(251, 58%, 80%)
CMYKcmyk(47.8%, 58%, 0%, 19.6%)
CIE-LABlab(44.50, 38.62, -59.12)
CIE-LCHlch(44.50, 70.61, 303.15°)
OKLaboklab(53.76% 0.0516 -0.1689)
OKLCHoklch(53.76% 0.177 287)
XYZxyz(20.4074, 14.1883, 59.4091)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56CD #B8CD56
analogous
#567DCD #6B56CD #A656CD
triadic
#6B56CD #CD6B56 #56CD6B
tetradic
#6B56CD #CD567D #B8CD56 #56CDA6
square
#6B56CD #CD567D #B8CD56 #56CDA6
split-complementary
#6B56CD #CDA656 #7DCD56
monochromatic
#372682 #4B34B1 #6B56CD #9485DB #BEB4E9

Accessibility & contrast

On white

5.47
#6B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6B56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56CD#FFFFFF#000000##FFFFFF
##6B56CD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#4A7189
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b56cd;
/* rgb */ color: rgb(107, 86, 205);
/* oklch */ color: oklch(53.8% 0.177 287.0);
Tailwind
colors: {
  custom: {
    50: '#9c86dd',
    500: '#6b56cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b56cd;
$custom-light: #9c86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56cd",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 250.588,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.17661,
    "h": 287
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#6B56CD
secondary
#CFD8A7
accent
#DE4AC4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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