#7662EC#7662EC

#7662EC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.9% C 0.200 H 285.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7662EC
RGBrgb(118, 98, 236)
HSLhsl(249, 78%, 65%)
HSVhsv(249, 58%, 93%)
CMYKcmyk(50%, 58.5%, 0%, 7.5%)
CIE-LABlab(50.27, 42.95, -67.35)
CIE-LCHlch(50.27, 79.89, 302.53°)
OKLaboklab(58.91% 0.052 -0.1928)
OKLCHoklch(58.91% 0.2 285.1)
XYZxyz(26.9747, 18.6417, 81.5175)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662EC #D8EC62
analogous
#6293EC #7662EC #BB62EC
triadic
#7662EC #EC7662 #62EC76
tetradic
#7662EC #EC6293 #D8EC62 #62ECBB
square
#7662EC #EC6293 #D8EC62 #62ECBB
split-complementary
#7662EC #ECBB62 #93EC62
monochromatic
#2F17BD #462BE5 #7662EC #A699F3 #D5CFF9

Accessibility & contrast

On white

4.44
#7662EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7662EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662EC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662EC#FFFFFF#000000##000000
##7662EC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#4A829E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7662ec;
/* rgb */ color: rgb(118, 98, 236);
/* oklch */ color: oklch(58.9% 0.200 285.1);
Tailwind
colors: {
  custom: {
    50: '#a68ff3',
    500: '#7662ec',
    950: '#000000',
  },
}
SCSS
$custom: #7662ec;
$custom-light: #a68ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7662ec",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 248.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.19966,
    "h": 285.1
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

primary
#7662EC
secondary
#E5ECBE
accent
#DB0BBD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7662EC

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

Preview Lab → · Contrast checker → · Palette generator →

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