#7562E8#7562E8

#7562E8 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.5% C 0.195 H 285.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7562E8
RGBrgb(117, 98, 232)
HSLhsl(249, 74%, 65%)
HSVhsv(249, 58%, 91%)
CMYKcmyk(49.6%, 57.8%, 0%, 9%)
CIE-LABlab(49.91, 41.59, -65.69)
CIE-LCHlch(49.91, 77.75, 302.34°)
OKLaboklab(58.54% 0.0508 -0.1879)
OKLCHoklch(58.54% 0.195 285.1)
XYZxyz(26.2650, 18.3422, 78.4847)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562E8 #D5E862
analogous
#6292E8 #7562E8 #B862E8
triadic
#7562E8 #E87562 #62E875
tetradic
#7562E8 #E86292 #D5E862 #62E8B8
square
#7562E8 #E86292 #D5E862 #62E8B8
split-complementary
#7562E8 #E8B862 #92E862
monochromatic
#301BB5 #462DE0 #7562E8 #A497F0 #D3CDF8

Accessibility & contrast

On white

4.50
#7562E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7562E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7562E8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562E8#FFFFFF#000000##000000
##7562E81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#4B819C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7562e8;
/* rgb */ color: rgb(117, 98, 232);
/* oklch */ color: oklch(58.5% 0.195 285.1);
Tailwind
colors: {
  custom: {
    50: '#a58ff0',
    500: '#7562e8',
    950: '#000000',
  },
}
SCSS
$custom: #7562e8;
$custom-light: #a58ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7562e8",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 248.507,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.19465,
    "h": 285.1
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#7562E8
secondary
#E3EABC
accent
#D70FBA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7562E8

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

Preview Lab → · Contrast checker → · Palette generator →

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