#6D54BF#6D54BF

#6D54BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.161 H 290.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6D54BF
RGBrgb(109, 84, 191)
HSLhsl(254, 46%, 54%)
HSVhsv(254, 56%, 75%)
CMYKcmyk(42.9%, 56%, 0%, 25.1%)
CIE-LABlab(43.29, 36.17, -52.96)
CIE-LCHlch(43.29, 64.13, 304.33°)
OKLaboklab(52.61% 0.0565 -0.1507)
OKLCHoklch(52.61% 0.161 290.6)
XYZxyz(18.8784, 13.3528, 50.8628)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54BF #A6BF54
analogous
#5471BF #6D54BF #A354BF
triadic
#6D54BF #BF6D54 #54BF6D
tetradic
#6D54BF #BF5471 #A6BF54 #54BFA3
square
#6D54BF #BF5471 #A6BF54 #54BFA3
split-complementary
#6D54BF #BFA354 #71BF54
monochromatic
#3A2A6F #513A9C #6D54BF #9381D0 #B9ADE0

Accessibility & contrast

On white

5.72
#6D54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6D54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54BF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54BF#FFFFFF#000000##FFFFFF
##6D54BF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#1F64BD
Tritanopia (blue-blind)
#566B81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d54bf;
/* rgb */ color: rgb(109, 84, 191);
/* oklch */ color: oklch(52.6% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#9c85d3',
    500: '#6d54bf',
    950: '#000000',
  },
}
SCSS
$custom: #6d54bf;
$custom-light: #9c85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54bf",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 254.019,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.16098,
    "h": 290.6
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#6D54BF
secondary
#C4CEA1
accent
#D553B7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0F0B14
muted
#7E7C83

Preview Lab

Preview with #6D54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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