#7562EC#7562EC

#7562EC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.8% C 0.200 H 284.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7562EC
RGBrgb(117, 98, 236)
HSLhsl(248, 78%, 65%)
HSVhsv(248, 58%, 93%)
CMYKcmyk(50.4%, 58.5%, 0%, 7.5%)
CIE-LABlab(50.18, 42.76, -67.49)
CIE-LCHlch(50.18, 79.90, 302.36°)
OKLaboklab(58.83% 0.0507 -0.1932)
OKLCHoklch(58.83% 0.2 284.7)
XYZxyz(26.8396, 18.5720, 81.5111)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562EC #D9EC62
analogous
#6294EC #7562EC #BA62EC
triadic
#7562EC #EC7562 #62EC75
tetradic
#7562EC #EC6294 #D9EC62 #62ECBA
square
#7562EC #EC6294 #D9EC62 #62ECBA
split-complementary
#7562EC #ECBA62 #94EC62
monochromatic
#2E17BD #452BE5 #7562EC #A599F3 #D5CFF9

Accessibility & contrast

On white

4.45
#7562EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7562EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7562EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562EC#FFFFFF#000000##000000
##7562EC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#48829E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7562ec;
/* rgb */ color: rgb(117, 98, 236);
/* oklch */ color: oklch(58.8% 0.200 284.7);
Tailwind
colors: {
  custom: {
    50: '#a58ff3',
    500: '#7562ec',
    950: '#000000',
  },
}
SCSS
$custom: #7562ec;
$custom-light: #a58ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7562ec",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 248.261,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.19975,
    "h": 284.7
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#7562EC
secondary
#E6ECBE
accent
#DB0BBE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7562EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7562EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva