#7662CD#7662CD

#7662CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.159 H 288.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7662CD
RGBrgb(118, 98, 205)
HSLhsl(251, 52%, 59%)
HSVhsv(251, 52%, 80%)
CMYKcmyk(42.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(48.25, 33.97, -53.03)
CIE-LCHlch(48.25, 62.98, 302.65°)
OKLaboklab(56.78% 0.0516 -0.1506)
OKLCHoklch(56.78% 0.159 288.9)
XYZxyz(22.8553, 16.9939, 59.8217)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662CD #B9CD62
analogous
#6284CD #7662CD #AC62CD
triadic
#7662CD #CD7662 #62CD76
tetradic
#7662CD #CD6284 #B9CD62 #62CDAC
square
#7662CD #CD6284 #B9CD62 #62CDAC
split-complementary
#7662CD #CDAC62 #84CD62
monochromatic
#3D2C89 #523AB7 #7662CD #9F90DC #C7BFEB

Accessibility & contrast

On white

4.77
#7662CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7662CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7662CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662CD#FFFFFF#000000##FFFFFF
##7662CD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#5D798E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7662cd;
/* rgb */ color: rgb(118, 98, 205);
/* oklch */ color: oklch(56.8% 0.159 288.9);
Tailwind
colors: {
  custom: {
    50: '#a28fdd',
    500: '#7662cd',
    950: '#000000',
  },
}
SCSS
$custom: #7662cd;
$custom-light: #a28fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7662cd",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 251.215,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.15922,
    "h": 288.9
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#7662CD
secondary
#D2DAB1
accent
#DB4DC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7662CD

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

Preview Lab → · Contrast checker → · Palette generator →

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