#6D54CF#6D54CF

#6D54CF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.182 H 288.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6D54CF
RGBrgb(109, 84, 207)
HSLhsl(252, 56%, 57%)
HSVhsv(252, 59%, 81%)
CMYKcmyk(47.3%, 59.4%, 0%, 18.8%)
CIE-LABlab(44.37, 40.78, -60.47)
CIE-LCHlch(44.37, 72.94, 304.00°)
OKLaboklab(53.75% 0.0563 -0.1728)
OKLCHoklch(53.75% 0.182 288)
XYZxyz(20.7362, 14.0960, 60.6476)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54CF #B6CF54
analogous
#5479CF #6D54CF #AA54CF
triadic
#6D54CF #CF6D54 #54CF6D
tetradic
#6D54CF #CF5479 #B6CF54 #54CFAA
square
#6D54CF #CF5479 #B6CF54 #54CFAA
split-complementary
#6D54CF #CFAA54 #79CF54
monochromatic
#382584 #4D32B3 #6D54CF #9684DC #BFB4EA

Accessibility & contrast

On white

5.50
#6D54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6D54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54CF#FFFFFF#000000##FFFFFF
##6D54CF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#4D7089
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d54cf;
/* rgb */ color: rgb(109, 84, 207);
/* oklch */ color: oklch(53.8% 0.182 288.0);
Tailwind
colors: {
  custom: {
    50: '#9e85de',
    500: '#6d54cf',
    950: '#000000',
  },
}
SCSS
$custom: #6d54cf;
$custom-light: #9e85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54cf",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 252.195,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.18178,
    "h": 288
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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