#7662EF#7662EF

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

Color values

HEX#7662EF
RGBrgb(118, 98, 239)
HSLhsl(249, 82%, 66%)
HSVhsv(249, 59%, 94%)
CMYKcmyk(50.6%, 59%, 0%, 6.3%)
CIE-LABlab(50.47, 43.83, -68.70)
CIE-LCHlch(50.47, 81.49, 302.54°)
OKLaboklab(59.13% 0.0519 -0.1967)
OKLCHoklch(59.13% 0.203 284.8)
XYZxyz(27.4142, 18.8175, 83.8322)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662EF #DBEF62
analogous
#6294EF #7662EF #BD62EF
triadic
#7662EF #EF7662 #62EF76
tetradic
#7662EF #EF6294 #DBEF62 #62EFBD
square
#7662EF #EF6294 #DBEF62 #62EFBD
split-complementary
#7662EF #EFBD62 #94EF62
monochromatic
#2D14C3 #462AE9 #7662EF #A69AF5 #D7D1FA

Accessibility & contrast

On white

4.41
#7662EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7662EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662EF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662EF#FFFFFF#000000##000000
##7662EF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#47839F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7662ef;
/* rgb */ color: rgb(118, 98, 239);
/* oklch */ color: oklch(59.1% 0.203 284.8);
Tailwind
colors: {
  custom: {
    50: '#a68ff5',
    500: '#7662ef',
    950: '#000000',
  },
}
SCSS
$custom: #7662ef;
$custom-light: #a68ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7662ef",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 248.511,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.20345,
    "h": 284.8
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#7662EF
secondary
#E7EEBF
accent
#DE08BF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7662EF

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

Preview Lab → · Contrast checker → · Palette generator →

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