#7562DF#7562DF

#7562DF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.9% C 0.183 H 286.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7562DF
RGBrgb(117, 98, 223)
HSLhsl(249, 66%, 63%)
HSVhsv(249, 56%, 87%)
CMYKcmyk(47.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(49.31, 38.95, -61.58)
CIE-LCHlch(49.31, 72.87, 302.31°)
OKLaboklab(57.9% 0.0509 -0.1758)
OKLCHoklch(57.9% 0.183 286.1)
XYZxyz(25.0192, 17.8439, 71.9237)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562DF #CCDF62
analogous
#628DDF #7562DF #B362DF
triadic
#7562DF #DF7562 #62DF75
tetradic
#7562DF #DF628D #CCDF62 #62DFB3
square
#7562DF #DF628D #CCDF62 #62DFB3
split-complementary
#7562DF #DFB362 #8DDF62
monochromatic
#3622A5 #482FD5 #7562DF #A295E9 #CEC8F4

Accessibility & contrast

On white

4.60
#7562DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7562DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7562DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562DF#FFFFFF#000000##FFFFFF
##7562DF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E79E3
Deuteranopia (green-blind)
#0772DC
Tritanopia (blue-blind)
#517E97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7562df;
/* rgb */ color: rgb(117, 98, 223);
/* oklch */ color: oklch(57.9% 0.183 286.1);
Tailwind
colors: {
  custom: {
    50: '#a48fea',
    500: '#7562df',
    950: '#000000',
  },
}
SCSS
$custom: #7562df;
$custom-light: #a48fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7562df",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 249.12,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.18304,
    "h": 286.1
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#7562DF
secondary
#DEE5B8
accent
#CE17B2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7562DF

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

Preview Lab → · Contrast checker → · Palette generator →

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