#7562DB#7562DB

#7562DB is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.6% C 0.178 H 286.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7562DB
RGBrgb(117, 98, 219)
HSLhsl(249, 63%, 62%)
HSVhsv(249, 55%, 86%)
CMYKcmyk(46.6%, 55.3%, 0%, 14.1%)
CIE-LABlab(49.05, 37.78, -59.74)
CIE-LCHlch(49.05, 70.68, 302.31°)
OKLaboklab(57.63% 0.0508 -0.1704)
OKLCHoklch(57.63% 0.178 286.6)
XYZxyz(24.4863, 17.6307, 69.1170)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562DB #C8DB62
analogous
#628CDB #7562DB #B162DB
triadic
#7562DB #DB7562 #62DB75
tetradic
#7562DB #DB628C #C8DB62 #62DBB1
square
#7562DB #DB628C #C8DB62 #62DBB1
split-complementary
#7562DB #DBB162 #8CDB62
monochromatic
#37249E #4930D0 #7562DB #A194E6 #CDC6F2

Accessibility & contrast

On white

4.64
#7562DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7562DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7562DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562DB#FFFFFF#000000##FFFFFF
##7562DB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#1871D8
Tritanopia (blue-blind)
#537D95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7562db;
/* rgb */ color: rgb(117, 98, 219);
/* oklch */ color: oklch(57.6% 0.178 286.6);
Tailwind
colors: {
  custom: {
    50: '#a38fe7',
    500: '#7562db',
    950: '#000000',
  },
}
SCSS
$custom: #7562db;
$custom-light: #a38fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7562db",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 249.421,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.17782,
    "h": 286.6
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#7562DB
secondary
#DCE3B6
accent
#CA1BAF
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7562DB

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

Preview Lab → · Contrast checker → · Palette generator →

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