#6754CD#6754CD

#6754CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.1% C 0.180 H 285.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6754CD
RGBrgb(103, 84, 205)
HSLhsl(249, 55%, 57%)
HSVhsv(249, 59%, 80%)
CMYKcmyk(49.8%, 59%, 0%, 19.6%)
CIE-LABlab(43.70, 38.98, -60.43)
CIE-LCHlch(43.70, 71.91, 302.82°)
OKLaboklab(53.09% 0.0486 -0.1729)
OKLCHoklch(53.09% 0.18 285.7)
XYZxyz(19.7800, 13.6310, 59.3346)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754CD #BACD54
analogous
#547ECD #6754CD #A354CD
triadic
#6754CD #CD6754 #54CD67
tetradic
#6754CD #CD547E #BACD54 #54CDA3
square
#6754CD #CD547E #BACD54 #54CDA3
split-complementary
#6754CD #CDA354 #7ECD54
monochromatic
#342681 #4734B0 #6754CD #9183DB #BBB3E9

Accessibility & contrast

On white

5.64
#6754CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6754CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754CD#FFFFFF#000000##FFFFFF
##6754CD1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#427088
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6754cd;
/* rgb */ color: rgb(103, 84, 205);
/* oklch */ color: oklch(53.1% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a85dd',
    500: '#6754cd',
    950: '#000000',
  },
}
SCSS
$custom: #6754cd;
$custom-light: #9a85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6754cd",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 249.421,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.17961,
    "h": 285.7
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#6754CD
secondary
#CFD7A6
accent
#DE4AC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6754CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6754CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva