#756CD7#756CD7

#756CD7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.159 H 284.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#756CD7
RGBrgb(117, 108, 215)
HSLhsl(245, 57%, 63%)
HSVhsv(245, 50%, 84%)
CMYKcmyk(45.6%, 49.8%, 0%, 15.7%)
CIE-LABlab(51.17, 30.68, -54.06)
CIE-LCHlch(51.17, 62.16, 299.58°)
OKLaboklab(59.13% 0.039 -0.1537)
OKLCHoklch(59.13% 0.159 284.3)
XYZxyz(24.9608, 19.4122, 66.7085)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756CD7 #CED76C
analogous
#6C98D7 #756CD7 #AA6CD7
triadic
#756CD7 #D7756C #6CD775
tetradic
#756CD7 #D76C98 #CED76C #6CD7AA
square
#756CD7 #D76C98 #CED76C #6CD7AA
split-complementary
#756CD7 #D7AA6C #98D76C
monochromatic
#352B9E #483CCA #756CD7 #A29CE4 #CFCCF1

Accessibility & contrast

On white

4.30
#756CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#756CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #756CD7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756CD7#FFFFFF#000000##000000
##756CD71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#558397
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #756cd7;
/* rgb */ color: rgb(117, 108, 215);
/* oklch */ color: oklch(59.1% 0.159 284.3);
Tailwind
colors: {
  custom: {
    50: '#a296e4',
    500: '#756cd7',
    950: '#000000',
  },
}
SCSS
$custom: #756cd7;
$custom-light: #a296e4;
$custom-dark: #000000;
JSON
{
  "hex": "#756cd7",
  "rgb": {
    "r": 117,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 245.047,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.15855,
    "h": 284.3
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#756CD7
secondary
#DFE2BC
accent
#C521B7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #756CD7

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

Preview Lab → · Contrast checker → · Palette generator →

#756CD7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva