#7562CB#7562CB

#7562CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.157 H 288.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7562CB
RGBrgb(117, 98, 203)
HSLhsl(251, 50%, 59%)
HSVhsv(251, 52%, 80%)
CMYKcmyk(42.4%, 51.7%, 0%, 20.4%)
CIE-LABlab(48.04, 33.17, -52.22)
CIE-LCHlch(48.04, 61.86, 302.42°)
OKLaboklab(56.56% 0.0502 -0.1483)
OKLCHoklch(56.56% 0.157 288.7)
XYZxyz(22.4803, 16.8283, 58.5521)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562CB #B8CB62
analogous
#6284CB #7562CB #AA62CB
triadic
#7562CB #CB7562 #62CB75
tetradic
#7562CB #CB6284 #B8CB62 #62CBAA
square
#7562CB #CB6284 #B8CB62 #62CBAA
split-complementary
#7562CB #CBAA62 #84CB62
monochromatic
#3D2C86 #513CB4 #7562CB #9D90DA #C6BEE9

Accessibility & contrast

On white

4.81
#7562CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7562CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7562CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562CB#FFFFFF#000000##FFFFFF
##7562CB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#346FC9
Tritanopia (blue-blind)
#5C788D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7562cb;
/* rgb */ color: rgb(117, 98, 203);
/* oklch */ color: oklch(56.6% 0.157 288.7);
Tailwind
colors: {
  custom: {
    50: '#a18fdb',
    500: '#7562cb',
    950: '#000000',
  },
}
SCSS
$custom: #7562cb;
$custom-light: #a18fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7562cb",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 250.857,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.15656,
    "h": 288.7
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#7562CB
secondary
#D2D9B0
accent
#DA4EC0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7562CB

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

Preview Lab → · Contrast checker → · Palette generator →

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