#7562CF#7562CF

#7562CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.162 H 288.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7562CF
RGBrgb(117, 98, 207)
HSLhsl(250, 53%, 60%)
HSVhsv(250, 53%, 81%)
CMYKcmyk(43.5%, 52.7%, 0%, 18.8%)
CIE-LABlab(48.29, 34.31, -54.12)
CIE-LCHlch(48.29, 64.08, 302.37°)
OKLaboklab(56.82% 0.0504 -0.1539)
OKLCHoklch(56.82% 0.162 288.1)
XYZxyz(22.9631, 17.0214, 61.0949)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562CF #BCCF62
analogous
#6285CF #7562CF #AC62CF
triadic
#7562CF #CF7562 #62CF75
tetradic
#7562CF #CF6285 #BCCF62 #62CFAC
square
#7562CF #CF6285 #BCCF62 #62CFAC
split-complementary
#7562CF #CFAC62 #85CF62
monochromatic
#3C2B8C #5039BB #7562CF #9E91DD #C7C0EC

Accessibility & contrast

On white

4.77
#7562CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7562CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7562CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562CF#FFFFFF#000000##FFFFFF
##7562CF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#2F70CD
Tritanopia (blue-blind)
#5A798F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7562cf;
/* rgb */ color: rgb(117, 98, 207);
/* oklch */ color: oklch(56.8% 0.162 288.1);
Tailwind
colors: {
  custom: {
    50: '#a28fde',
    500: '#7562cf',
    950: '#000000',
  },
}
SCSS
$custom: #7562cf;
$custom-light: #a28fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7562cf",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 250.459,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.16193,
    "h": 288.1
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#7562CF
secondary
#D4DBB1
accent
#DD4BC3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7562CF

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

Preview Lab → · Contrast checker → · Palette generator →

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