#7562BB#7562BB

#7562BB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.6% C 0.135 H 291.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7562BB
RGBrgb(117, 98, 187)
HSLhsl(253, 40%, 56%)
HSVhsv(253, 48%, 73%)
CMYKcmyk(37.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(47.11, 28.65, -44.48)
CIE-LCHlch(47.11, 52.91, 302.79°)
OKLaboklab(55.56% 0.0487 -0.1256)
OKLCHoklch(55.56% 0.135 291.2)
XYZxyz(20.6710, 16.1046, 49.0235)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562BB #A8BB62
analogous
#627BBB #7562BB #A162BB
triadic
#7562BB #BB7562 #62BB75
tetradic
#7562BB #BB627B #A8BB62 #62BBA1
square
#7562BB #BB627B #A8BB62 #62BBA1
split-complementary
#7562BB #BBA162 #7BBB62
monochromatic
#3F3171 #57449C #7562BB #9B8DCD #C0B7E0

Accessibility & contrast

On white

4.98
#7562BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7562BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7562BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7562BB#FFFFFF#000000##FFFFFF
##7562BB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#637485
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7562bb;
/* rgb */ color: rgb(117, 98, 187);
/* oklch */ color: oklch(55.6% 0.135 291.2);
Tailwind
colors: {
  custom: {
    50: '#a08fd0',
    500: '#7562bb',
    950: '#000000',
  },
}
SCSS
$custom: #7562bb;
$custom-light: #a08fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7562bb",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 252.809,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.13471,
    "h": 291.2
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#7562BB
secondary
#C7CFAA
accent
#CF58B6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7562BB

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

Preview Lab → · Contrast checker → · Palette generator →

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