#7562AA#7562AA

#7562AA is a mid, moderate violet. Relative luminance 0.154; OKLCH L 54.6% C 0.111 H 294.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7562AA
RGBrgb(117, 98, 170)
HSLhsl(256, 30%, 53%)
HSVhsv(256, 42%, 67%)
CMYKcmyk(31.2%, 42.4%, 0%, 33.3%)
CIE-LABlab(46.20, 24.02, -35.99)
CIE-LCHlch(46.20, 43.27, 303.72°)
OKLaboklab(54.58% 0.0461 -0.1008)
OKLCHoklch(54.58% 0.111 294.6)
XYZxyz(18.9577, 15.4193, 39.9998)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7562AA #97AA62
analogous
#6273AA #7562AA #9962AA
triadic
#7562AA #AA7562 #62AA75
tetradic
#7562AA #AA6273 #97AA62 #62AA99
square
#7562AA #AA6273 #97AA62 #62AA99
split-complementary
#7562AA #AA9962 #73AA62
monochromatic
#3F335E #594986 #7562AA #988ABF #BBB1D5

Accessibility & contrast

On white

5.14
#7562AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7562AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7562AA#FFFFFF#000000##FFFFFF
##7562AA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#696F7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7562aa;
/* rgb */ color: rgb(117, 98, 170);
/* oklch */ color: oklch(54.6% 0.111 294.6);
Tailwind
colors: {
  custom: {
    50: '#9f8fc3',
    500: '#7562aa',
    950: '#000000',
  },
}
SCSS
$custom: #7562aa;
$custom-light: #9f8fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7562aa",
  "rgb": {
    "r": 117,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 255.833,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.1109,
    "h": 294.6
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#7562AA
secondary
#BBC4A4
accent
#C662AC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #7562AA

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

Preview Lab → · Contrast checker → · Palette generator →

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