#756CDB#756CDB

#756CDB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.164 H 283.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#756CDB
RGBrgb(117, 108, 219)
HSLhsl(245, 61%, 64%)
HSVhsv(245, 51%, 86%)
CMYKcmyk(46.6%, 50.7%, 0%, 14.1%)
CIE-LABlab(51.41, 31.86, -55.94)
CIE-LCHlch(51.41, 64.38, 299.66°)
OKLaboklab(59.39% 0.0394 -0.1592)
OKLCHoklch(59.39% 0.164 283.9)
XYZxyz(25.4811, 19.6203, 69.4486)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756CDB #D2DB6C
analogous
#6C9BDB #756CDB #AD6CDB
triadic
#756CDB #DB756C #6CDB75
tetradic
#756CDB #DB6C9B #D2DB6C #6CDBAD
square
#756CDB #DB6C9B #D2DB6C #6CDBAD
split-complementary
#756CDB #DBAD6C #9BDB6C
monochromatic
#3228A4 #473BCF #756CDB #A39DE7 #D1CEF3

Accessibility & contrast

On white

4.26
#756CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#756CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #756CDB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756CDB#FFFFFF#000000##000000
##756CDB1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#528499
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #756cdb;
/* rgb */ color: rgb(117, 108, 219);
/* oklch */ color: oklch(59.4% 0.164 283.9);
Tailwind
colors: {
  custom: {
    50: '#a396e7',
    500: '#756cdb',
    950: '#000000',
  },
}
SCSS
$custom: #756cdb;
$custom-light: #a396e7;
$custom-dark: #000000;
JSON
{
  "hex": "#756cdb",
  "rgb": {
    "r": 117,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 244.865,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.16398,
    "h": 283.9
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#756CDB
secondary
#E2E5BE
accent
#C81DBA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #756CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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