#6D54CA#6D54CA

#6D54CA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.175 H 288.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6D54CA
RGBrgb(109, 84, 202)
HSLhsl(253, 53%, 56%)
HSVhsv(253, 58%, 79%)
CMYKcmyk(46%, 58.4%, 0%, 20.8%)
CIE-LABlab(44.02, 39.33, -58.15)
CIE-LCHlch(44.02, 70.20, 304.08°)
OKLaboklab(53.39% 0.0565 -0.166)
OKLCHoklch(53.39% 0.175 288.8)
XYZxyz(20.1346, 13.8553, 57.4791)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54CA #B1CA54
analogous
#5476CA #6D54CA #A854CA
triadic
#6D54CA #CA6D54 #54CA6D
tetradic
#6D54CA #CA5476 #B1CA54 #54CAA8
square
#6D54CA #CA5476 #B1CA54 #54CAA8
split-complementary
#6D54CA #CAA854 #76CA54
monochromatic
#39277D #4E35AC #6D54CA #9583D8 #BDB1E7

Accessibility & contrast

On white

5.57
#6D54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6D54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54CA#FFFFFF#000000##FFFFFF
##6D54CA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#506F87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d54ca;
/* rgb */ color: rgb(109, 84, 202);
/* oklch */ color: oklch(53.4% 0.175 288.8);
Tailwind
colors: {
  custom: {
    50: '#9d85db',
    500: '#6d54ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d54ca;
$custom-light: #9d85db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54ca",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 252.712,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.17534,
    "h": 288.8
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#6D54CA
secondary
#CBD5A5
accent
#DC4CBE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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