#7662EE#7662EE

#7662EE is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.1% C 0.202 H 284.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7662EE
RGBrgb(118, 98, 238)
HSLhsl(249, 80%, 66%)
HSVhsv(249, 59%, 93%)
CMYKcmyk(50.4%, 58.8%, 0%, 6.7%)
CIE-LABlab(50.40, 43.54, -68.25)
CIE-LCHlch(50.40, 80.96, 302.54°)
OKLaboklab(59.05% 0.0519 -0.1954)
OKLCHoklch(59.05% 0.202 284.9)
XYZxyz(27.2669, 18.7586, 83.0564)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662EE #DAEE62
analogous
#6294EE #7662EE #BC62EE
triadic
#7662EE #EE7662 #62EE76
tetradic
#7662EE #EE6294 #DAEE62 #62EEBC
square
#7662EE #EE6294 #DAEE62 #62EEBC
split-complementary
#7662EE #EEBC62 #94EE62
monochromatic
#2D15C1 #462BE8 #7662EE #A699F4 #D6D0FA

Accessibility & contrast

On white

4.42
#7662EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7662EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662EE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662EE#FFFFFF#000000##000000
##7662EE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#48839F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7662ee;
/* rgb */ color: rgb(118, 98, 238);
/* oklch */ color: oklch(59.1% 0.202 284.9);
Tailwind
colors: {
  custom: {
    50: '#a68ff4',
    500: '#7662ee',
    950: '#000000',
  },
}
SCSS
$custom: #7662ee;
$custom-light: #a68ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7662ee",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 248.571,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.20219,
    "h": 284.9
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#7662EE
secondary
#E6EDBF
accent
#DD09BE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7662EE

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

Preview Lab → · Contrast checker → · Palette generator →

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