#7662BB#7662BB

#7662BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.7% C 0.135 H 291.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7662BB
RGBrgb(118, 98, 187)
HSLhsl(253, 40%, 56%)
HSVhsv(253, 48%, 73%)
CMYKcmyk(36.9%, 47.6%, 0%, 26.7%)
CIE-LABlab(47.20, 28.91, -44.33)
CIE-LCHlch(47.20, 52.92, 303.12°)
OKLaboklab(55.65% 0.05 -0.1251)
OKLCHoklch(55.65% 0.135 291.8)
XYZxyz(20.8062, 16.1743, 49.0298)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662BB #A7BB62
analogous
#627ABB #7662BB #A262BB
triadic
#7662BB #BB7662 #62BB76
tetradic
#7662BB #BB627A #A7BB62 #62BBA2
square
#7662BB #BB627A #A7BB62 #62BBA2
split-complementary
#7662BB #BBA262 #7ABB62
monochromatic
#403171 #58449C #7662BB #9B8DCD #C1B7E0

Accessibility & contrast

On white

4.96
#7662BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7662BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7662BB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662BB#FFFFFF#000000##FFFFFF
##7662BB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7662bb;
/* rgb */ color: rgb(118, 98, 187);
/* oklch */ color: oklch(55.7% 0.135 291.8);
Tailwind
colors: {
  custom: {
    50: '#a18fd0',
    500: '#7662bb',
    950: '#000000',
  },
}
SCSS
$custom: #7662bb;
$custom-light: #a18fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7662bb",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 253.483,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.13473,
    "h": 291.8
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7662BB

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

Preview Lab → · Contrast checker → · Palette generator →

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