#6754CA#6754CA

#6754CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.9% C 0.176 H 286.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6754CA
RGBrgb(103, 84, 202)
HSLhsl(250, 53%, 56%)
HSVhsv(250, 58%, 79%)
CMYKcmyk(49%, 58.4%, 0%, 20.8%)
CIE-LABlab(43.49, 38.08, -59.04)
CIE-LCHlch(43.49, 70.26, 302.82°)
OKLaboklab(52.86% 0.0487 -0.1688)
OKLCHoklch(52.86% 0.176 286.1)
XYZxyz(19.4214, 13.4876, 57.4457)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754CA #B7CA54
analogous
#547CCA #6754CA #A254CA
triadic
#6754CA #CA6754 #54CA67
tetradic
#6754CA #CA547C #B7CA54 #54CAA2
square
#6754CA #CA547C #B7CA54 #54CAA2
split-complementary
#6754CA #CAA254 #7CCA54
monochromatic
#35277D #4835AC #6754CA #9183D8 #BAB1E7

Accessibility & contrast

On white

5.68
#6754CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6754CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754CA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754CA#FFFFFF#000000##FFFFFF
##6754CA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#446F87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6754ca;
/* rgb */ color: rgb(103, 84, 202);
/* oklch */ color: oklch(52.9% 0.176 286.1);
Tailwind
colors: {
  custom: {
    50: '#9a85db',
    500: '#6754ca',
    950: '#000000',
  },
}
SCSS
$custom: #6754ca;
$custom-light: #9a85db;
$custom-dark: #000000;
JSON
{
  "hex": "#6754ca",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 249.661,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.1757,
    "h": 286.1
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#6754CA
secondary
#CDD5A5
accent
#DC4CC5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6754CA

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

Preview Lab → · Contrast checker → · Palette generator →

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