#6754D3#6754D3

#6754D3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.5% C 0.187 H 285.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6754D3
RGBrgb(103, 84, 211)
HSLhsl(249, 59%, 58%)
HSVhsv(249, 60%, 83%)
CMYKcmyk(51.2%, 60.2%, 0%, 17.3%)
CIE-LABlab(44.13, 40.77, -63.19)
CIE-LCHlch(44.13, 75.20, 302.83°)
OKLaboklab(53.54% 0.0484 -0.181)
OKLCHoklch(53.54% 0.187 285)
XYZxyz(20.5182, 13.9263, 63.2223)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754D3 #C0D354
analogous
#5481D3 #6754D3 #A654D3
triadic
#6754D3 #D36754 #54D367
tetradic
#6754D3 #D35481 #C0D354 #54D3A6
square
#6754D3 #D35481 #C0D354 #54D3A6
split-complementary
#6754D3 #D3A654 #81D354
monochromatic
#332389 #4530BA #6754D3 #9285E0 #BEB5EC

Accessibility & contrast

On white

5.55
#6754D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6754D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754D3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754D3#FFFFFF#000000##FFFFFF
##6754D31.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#3D728B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6754d3;
/* rgb */ color: rgb(103, 84, 211);
/* oklch */ color: oklch(53.5% 0.187 285.0);
Tailwind
colors: {
  custom: {
    50: '#9b85e1',
    500: '#6754d3',
    950: '#000000',
  },
}
SCSS
$custom: #6754d3;
$custom-light: #9b85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6754d3",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 248.976,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.18736,
    "h": 285
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#6754D3
secondary
#D3DBA8
accent
#E246CB
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6754D3

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

Preview Lab → · Contrast checker → · Palette generator →

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