#7562CD#7562CD

#7562CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.159 H 288.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7562CD
RGBrgb(117, 98, 205)
HSLhsl(251, 52%, 59%)
HSVhsv(251, 52%, 80%)
CMYKcmyk(42.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(48.16, 33.74, -53.17)
CIE-LCHlch(48.16, 62.97, 302.40°)
OKLaboklab(56.69% 0.0503 -0.1511)
OKLCHoklch(56.69% 0.159 288.4)
XYZxyz(22.7201, 16.9242, 59.8154)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562CD #BACD62
analogous
#6285CD #7562CD #AB62CD
triadic
#7562CD #CD7562 #62CD75
tetradic
#7562CD #CD6285 #BACD62 #62CDAB
square
#7562CD #CD6285 #BACD62 #62CDAB
split-complementary
#7562CD #CDAB62 #85CD62
monochromatic
#3C2C89 #513AB7 #7562CD #9E90DC #C7BFEB

Accessibility & contrast

On white

4.79
#7562CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7562CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7562CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562CD#FFFFFF#000000##FFFFFF
##7562CD1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#5B798E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7562cd;
/* rgb */ color: rgb(117, 98, 205);
/* oklch */ color: oklch(56.7% 0.159 288.4);
Tailwind
colors: {
  custom: {
    50: '#a28fdd',
    500: '#7562cd',
    950: '#000000',
  },
}
SCSS
$custom: #7562cd;
$custom-light: #a28fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7562cd",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 250.654,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.15925,
    "h": 288.4
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#7562CD
secondary
#D3DAB1
accent
#DB4DC2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7562CD

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

Preview Lab → · Contrast checker → · Palette generator →

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