#6D54BC#6D54BC

#6D54BC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.4% C 0.157 H 291.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6D54BC
RGBrgb(109, 84, 188)
HSLhsl(254, 44%, 53%)
HSVhsv(254, 55%, 74%)
CMYKcmyk(42%, 55.3%, 0%, 26.3%)
CIE-LABlab(43.10, 35.31, -51.52)
CIE-LCHlch(43.10, 62.46, 304.42°)
OKLaboklab(52.41% 0.0565 -0.1465)
OKLCHoklch(52.41% 0.157 291.1)
XYZxyz(18.5516, 13.2221, 49.1419)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54BC #A3BC54
analogous
#546FBC #6D54BC #A154BC
triadic
#6D54BC #BC6D54 #54BC6D
tetradic
#6D54BC #BC546F #A3BC54 #54BCA1
square
#6D54BC #BC546F #A3BC54 #54BCA1
split-complementary
#6D54BC #BCA154 #6FBC54
monochromatic
#3A2A6B #513B97 #6D54BC #9380CD #B8ACDE

Accessibility & contrast

On white

5.76
#6D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54BC#FFFFFF#000000##FFFFFF
##6D54BC1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#576A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d54bc;
/* rgb */ color: rgb(109, 84, 188);
/* oklch */ color: oklch(52.4% 0.157 291.1);
Tailwind
colors: {
  custom: {
    50: '#9c85d1',
    500: '#6d54bc',
    950: '#000000',
  },
}
SCSS
$custom: #6d54bc;
$custom-light: #9c85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54bc",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 254.423,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.15702,
    "h": 291.1
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#6D54BC
secondary
#C2CCA0
accent
#D354B5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6D54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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