#7662ED#7662ED

#7662ED is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 59.0% C 0.201 H 285.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7662ED
RGBrgb(118, 98, 237)
HSLhsl(249, 79%, 66%)
HSVhsv(249, 59%, 93%)
CMYKcmyk(50.2%, 58.6%, 0%, 7.1%)
CIE-LABlab(50.33, 43.25, -67.80)
CIE-LCHlch(50.33, 80.42, 302.53°)
OKLaboklab(58.98% 0.052 -0.1941)
OKLCHoklch(58.98% 0.201 285)
XYZxyz(27.1204, 18.7000, 82.2848)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662ED #D9ED62
analogous
#6293ED #7662ED #BB62ED
triadic
#7662ED #ED7662 #62ED76
tetradic
#7662ED #ED6293 #D9ED62 #62EDBB
square
#7662ED #ED6293 #D9ED62 #62EDBB
split-complementary
#7662ED #EDBB62 #93ED62
monochromatic
#2E16BF #462BE7 #7662ED #A699F3 #D6D0FA

Accessibility & contrast

On white

4.43
#7662ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7662ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662ED
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662ED#FFFFFF#000000##000000
##7662ED1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#49829E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7662ed;
/* rgb */ color: rgb(118, 98, 237);
/* oklch */ color: oklch(59.0% 0.201 285.0);
Tailwind
colors: {
  custom: {
    50: '#a68ff4',
    500: '#7662ed',
    950: '#000000',
  },
}
SCSS
$custom: #7662ed;
$custom-light: #a68ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7662ed",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 248.633,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.20092,
    "h": 285
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#7662ED
secondary
#E6EDBE
accent
#DC0ABE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7662ED

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

Preview Lab → · Contrast checker → · Palette generator →

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