#6B54CE#6B54CE

#6B54CE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.181 H 287.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6B54CE
RGBrgb(107, 84, 206)
HSLhsl(251, 55%, 57%)
HSVhsv(251, 59%, 81%)
CMYKcmyk(48.1%, 59.2%, 0%, 19.2%)
CIE-LABlab(44.12, 40.08, -60.31)
CIE-LCHlch(44.12, 72.41, 303.61°)
OKLaboklab(53.5% 0.0538 -0.1724)
OKLCHoklch(53.5% 0.181 287.3)
XYZxyz(20.3711, 13.9218, 59.9944)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54CE #B7CE54
analogous
#547ACE #6B54CE #A854CE
triadic
#6B54CE #CE6B54 #54CE6B
tetradic
#6B54CE #CE547A #B7CE54 #54CEA8
square
#6B54CE #CE547A #B7CE54 #54CEA8
split-complementary
#6B54CE #CEA854 #7ACE54
monochromatic
#372582 #4B33B2 #6B54CE #9484DC #BDB3E9

Accessibility & contrast

On white

5.55
#6B54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6B54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54CE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54CE#FFFFFF#000000##FFFFFF
##6B54CE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#497089
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b54ce;
/* rgb */ color: rgb(107, 84, 206);
/* oklch */ color: oklch(53.5% 0.181 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c85de',
    500: '#6b54ce',
    950: '#000000',
  },
}
SCSS
$custom: #6b54ce;
$custom-light: #9c85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54ce",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 251.311,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.18061,
    "h": 287.3
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#6B54CE
secondary
#CED8A6
accent
#DF49C3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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