#7562BF#7562BF

#7562BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 55.8% C 0.140 H 290.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7562BF
RGBrgb(117, 98, 191)
HSLhsl(252, 42%, 57%)
HSVhsv(252, 49%, 75%)
CMYKcmyk(38.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(47.34, 29.77, -46.43)
CIE-LCHlch(47.34, 55.16, 302.66°)
OKLaboklab(55.81% 0.0492 -0.1313)
OKLCHoklch(55.81% 0.14 290.5)
XYZxyz(21.1052, 16.2783, 51.3101)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562BF #ACBF62
analogous
#627EBF #7562BF #A462BF
triadic
#7562BF #BF7562 #62BF75
tetradic
#7562BF #BF627E #ACBF62 #62BFA4
square
#7562BF #BF627E #ACBF62 #62BFA4
split-complementary
#7562BF #BFA462 #7EBF62
monochromatic
#3F3076 #5642A2 #7562BF #9B8DD1 #C1B9E2

Accessibility & contrast

On white

4.93
#7562BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7562BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7562BF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562BF#FFFFFF#000000##FFFFFF
##7562BF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#617587
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7562bf;
/* rgb */ color: rgb(117, 98, 191);
/* oklch */ color: oklch(55.8% 0.140 290.5);
Tailwind
colors: {
  custom: {
    50: '#a08fd3',
    500: '#7562bf',
    950: '#000000',
  },
}
SCSS
$custom: #7562bf;
$custom-light: #a08fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7562bf",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 252.258,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.14023,
    "h": 290.5
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#7562BF
secondary
#CAD1AB
accent
#D256B9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7562BF

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

Preview Lab → · Contrast checker → · Palette generator →

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