#756BEB#756BEB

#756BEB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.3% C 0.187 H 282.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#756BEB
RGBrgb(117, 107, 235)
HSLhsl(245, 76%, 67%)
HSVhsv(245, 54%, 92%)
CMYKcmyk(50.2%, 54.5%, 0%, 7.8%)
CIE-LABlab(52.17, 37.21, -63.72)
CIE-LCHlch(52.17, 73.79, 300.28°)
OKLaboklab(60.28% 0.0413 -0.1821)
OKLCHoklch(60.28% 0.187 282.8)
XYZxyz(27.5847, 20.2940, 81.0448)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756BEB #E1EB6B
analogous
#6BA1EB #756BEB #B56BEB
triadic
#756BEB #EB756B #6BEB75
tetradic
#756BEB #EB6BA1 #E1EB6B #6BEBB5
square
#756BEB #EB6BA1 #E1EB6B #6BEBB5
split-complementary
#756BEB #EBB56B #A1EB6B
monochromatic
#271AC1 #4335E4 #756BEB #A7A1F2 #DAD7FA

Accessibility & contrast

On white

4.15
#756BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#756BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #756BEB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756BEB#FFFFFF#000000##000000
##756BEB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#0878E8
Tritanopia (blue-blind)
#4788A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #756beb;
/* rgb */ color: rgb(117, 107, 235);
/* oklch */ color: oklch(60.3% 0.187 282.8);
Tailwind
colors: {
  custom: {
    50: '#a595f2',
    500: '#756beb',
    950: '#000000',
  },
}
SCSS
$custom: #756beb;
$custom-light: #a595f2;
$custom-dark: #000000;
JSON
{
  "hex": "#756beb",
  "rgb": {
    "r": 117,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 244.688,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.18669,
    "h": 282.8
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#756BEB
secondary
#EAEDC5
accent
#D80DC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #756BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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