#756CEB#756CEB

#756CEB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.4% C 0.185 H 282.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#756CEB
RGBrgb(117, 108, 235)
HSLhsl(244, 76%, 67%)
HSVhsv(244, 54%, 92%)
CMYKcmyk(50.2%, 54%, 0%, 7.8%)
CIE-LABlab(52.40, 36.62, -63.34)
CIE-LCHlch(52.40, 73.17, 300.03°)
OKLaboklab(60.45% 0.0402 -0.1809)
OKLCHoklch(60.45% 0.185 282.5)
XYZxyz(27.6895, 20.5037, 81.0797)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756CEB #E2EB6C
analogous
#6CA3EB #756CEB #B56CEB
triadic
#756CEB #EB756C #6CEB75
tetradic
#756CEB #EB6CA3 #E2EB6C #6CEBB5
square
#756CEB #EB6CA3 #E2EB6C #6CEBB5
split-complementary
#756CEB #EBB56C #A3EB6C
monochromatic
#261AC2 #4236E4 #756CEB #A8A2F2 #DAD8FA

Accessibility & contrast

On white

4.12
#756CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#756CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #756CEB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756CEB#FFFFFF#000000##000000
##756CEB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#1079E8
Tritanopia (blue-blind)
#4789A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #756ceb;
/* rgb */ color: rgb(117, 108, 235);
/* oklch */ color: oklch(60.4% 0.185 282.5);
Tailwind
colors: {
  custom: {
    50: '#a596f2',
    500: '#756ceb',
    950: '#000000',
  },
}
SCSS
$custom: #756ceb;
$custom-light: #a596f2;
$custom-dark: #000000;
JSON
{
  "hex": "#756ceb",
  "rgb": {
    "r": 117,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 244.252,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.18536,
    "h": 282.5
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#756CEB
secondary
#EBEDC5
accent
#D80DCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #756CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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