#756CE2#756CE2

#756CE2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.8% C 0.173 H 283.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#756CE2
RGBrgb(117, 108, 226)
HSLhsl(245, 67%, 65%)
HSVhsv(245, 52%, 89%)
CMYKcmyk(48.2%, 52.2%, 0%, 11.4%)
CIE-LABlab(51.83, 33.94, -59.21)
CIE-LCHlch(51.83, 68.24, 299.82°)
OKLaboklab(59.84% 0.0398 -0.1688)
OKLCHoklch(59.84% 0.173 283.3)
XYZxyz(26.4220, 19.9967, 74.4043)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756CE2 #D9E26C
analogous
#6C9EE2 #756CE2 #B06CE2
triadic
#756CE2 #E2756C #6CE275
tetradic
#756CE2 #E26C9E #D9E26C #6CE2B0
square
#756CE2 #E26C9E #D9E26C #6CE2B0
split-complementary
#756CE2 #E2B06C #9EE26C
monochromatic
#2E23B1 #4539D8 #756CE2 #A59FEC #D5D2F6

Accessibility & contrast

On white

4.20
#756CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#756CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #756CE2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756CE2#FFFFFF#000000##000000
##756CE21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE6
Deuteranopia (green-blind)
#2878DF
Tritanopia (blue-blind)
#4E869D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #756ce2;
/* rgb */ color: rgb(117, 108, 226);
/* oklch */ color: oklch(59.8% 0.173 283.3);
Tailwind
colors: {
  custom: {
    50: '#a396ec',
    500: '#756ce2',
    950: '#000000',
  },
}
SCSS
$custom: #756ce2;
$custom-light: #a396ec;
$custom-dark: #000000;
JSON
{
  "hex": "#756ce2",
  "rgb": {
    "r": 117,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 244.576,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.17341,
    "h": 283.3
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#756CE2
secondary
#E6E9C1
accent
#CF17C1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #756CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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