#756FEC#756FEC

#756FEC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.0% C 0.183 H 281.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#756FEC
RGBrgb(117, 111, 236)
HSLhsl(243, 77%, 68%)
HSVhsv(243, 53%, 93%)
CMYKcmyk(50.4%, 53%, 0%, 7.5%)
CIE-LABlab(53.17, 35.15, -62.66)
CIE-LCHlch(53.17, 71.85, 299.29°)
OKLaboklab(61.04% 0.037 -0.1789)
OKLCHoklch(61.04% 0.183 281.7)
XYZxyz(28.1563, 21.2054, 81.9500)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756FEC #E6EC6F
analogous
#6FA7EC #756FEC #B36FEC
triadic
#756FEC #EC756F #6FEC75
tetradic
#756FEC #EC6FA7 #E6EC6F #6FECB3
square
#756FEC #EC6FA7 #E6EC6F #6FECB3
split-complementary
#756FEC #ECB36F #A7EC6F
monochromatic
#221AC6 #4139E5 #756FEC #A9A5F3 #DDDBFA

Accessibility & contrast

On white

4.01
#756FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#756FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #756FEC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756FEC#FFFFFF#000000##000000
##756FEC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#1B7BE9
Tritanopia (blue-blind)
#468BA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #756fec;
/* rgb */ color: rgb(117, 111, 236);
/* oklch */ color: oklch(61.0% 0.183 281.7);
Tailwind
colors: {
  custom: {
    50: '#a598f3',
    500: '#756fec',
    950: '#000000',
  },
}
SCSS
$custom: #756fec;
$custom-light: #a598f3;
$custom-dark: #000000;
JSON
{
  "hex": "#756fec",
  "rgb": {
    "r": 117,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 242.88,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.18271,
    "h": 281.7
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#756FEC
secondary
#EDEFC8
accent
#D90DCF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #756FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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