#7662DE#7662DE

#7662DE is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.9% C 0.182 H 286.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7662DE
RGBrgb(118, 98, 222)
HSLhsl(250, 65%, 63%)
HSVhsv(250, 56%, 87%)
CMYKcmyk(46.8%, 55.9%, 0%, 12.9%)
CIE-LABlab(49.33, 38.87, -60.98)
CIE-LCHlch(49.33, 72.32, 302.51°)
OKLaboklab(57.92% 0.0521 -0.174)
OKLCHoklch(57.92% 0.182 286.7)
XYZxyz(25.0199, 17.8598, 71.2220)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662DE #CADE62
analogous
#628CDE #7662DE #B462DE
triadic
#7662DE #DE7662 #62DE76
tetradic
#7662DE #DE628C #CADE62 #62DEB4
square
#7662DE #DE628C #CADE62 #62DEB4
split-complementary
#7662DE #DEB462 #8CDE62
monochromatic
#3722A3 #4A2FD3 #7662DE #A295E9 #CEC7F3

Accessibility & contrast

On white

4.59
#7662DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7662DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7662DE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662DE#FFFFFF#000000##FFFFFF
##7662DE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1378E2
Deuteranopia (green-blind)
#1072DB
Tritanopia (blue-blind)
#537E97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7662de;
/* rgb */ color: rgb(118, 98, 222);
/* oklch */ color: oklch(57.9% 0.182 286.7);
Tailwind
colors: {
  custom: {
    50: '#a48fe9',
    500: '#7662de',
    950: '#000000',
  },
}
SCSS
$custom: #7662de;
$custom-light: #a48fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7662de",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 249.677,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.18167,
    "h": 286.7
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#7662DE
secondary
#DDE4B7
accent
#CD18B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7662DE

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

Preview Lab → · Contrast checker → · Palette generator →

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