#7662CB#7662CB

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

Color values

HEX#7662CB
RGBrgb(118, 98, 203)
HSLhsl(251, 50%, 59%)
HSVhsv(251, 52%, 80%)
CMYKcmyk(41.9%, 51.7%, 0%, 20.4%)
CIE-LABlab(48.13, 33.40, -52.07)
CIE-LCHlch(48.13, 61.87, 302.68°)
OKLaboklab(56.65% 0.0514 -0.1478)
OKLCHoklch(56.65% 0.157 289.2)
XYZxyz(22.6154, 16.8980, 58.5584)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662CB #B7CB62
analogous
#6283CB #7662CB #AB62CB
triadic
#7662CB #CB7662 #62CB76
tetradic
#7662CB #CB6283 #B7CB62 #62CBAB
square
#7662CB #CB6283 #B7CB62 #62CBAB
split-complementary
#7662CB #CBAB62 #83CB62
monochromatic
#3E2C86 #533CB4 #7662CB #9E90DA #C6BEE9

Accessibility & contrast

On white

4.79
#7662CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7662CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7662CB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662CB#FFFFFF#000000##FFFFFF
##7662CB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CF
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#5E788D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7662cb;
/* rgb */ color: rgb(118, 98, 203);
/* oklch */ color: oklch(56.6% 0.157 289.2);
Tailwind
colors: {
  custom: {
    50: '#a28fdb',
    500: '#7662cb',
    950: '#000000',
  },
}
SCSS
$custom: #7662cb;
$custom-light: #a28fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7662cb",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 251.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.15653,
    "h": 289.2
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#7662CB
secondary
#D1D9B0
accent
#DA4EBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7662CB

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

Preview Lab → · Contrast checker → · Palette generator →

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