#7662F4#7662F4

#7662F4 is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.5% C 0.210 H 284.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7662F4
RGBrgb(118, 98, 244)
HSLhsl(248, 87%, 67%)
HSVhsv(248, 60%, 96%)
CMYKcmyk(51.6%, 59.8%, 0%, 4.3%)
CIE-LABlab(50.82, 45.30, -70.92)
CIE-LCHlch(50.82, 84.16, 302.57°)
OKLaboklab(59.5% 0.0517 -0.2033)
OKLCHoklch(59.5% 0.21 284.3)
XYZxyz(28.1631, 19.1170, 87.7764)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662F4 #E0F462
analogous
#6297F4 #7662F4 #BF62F4
triadic
#7662F4 #F47662 #62F476
tetradic
#7662F4 #F46297 #E0F462 #62F4BF
square
#7662F4 #F46297 #E0F462 #62F4BF
split-complementary
#7662F4 #F4BF62 #97F462
monochromatic
#290ECD #4429F0 #7662F4 #A89BF8 #DAD4FC

Accessibility & contrast

On white

4.35
#7662F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7662F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662F4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662F4#FFFFFF#000000##000000
##7662F41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#4385A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7662f4;
/* rgb */ color: rgb(118, 98, 244);
/* oklch */ color: oklch(59.5% 0.210 284.3);
Tailwind
colors: {
  custom: {
    50: '#a78ff9',
    500: '#7662f4',
    950: '#000000',
  },
}
SCSS
$custom: #7662f4;
$custom-light: #a78ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7662f4",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 248.219,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.20974,
    "h": 284.3
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

primary
#7662F4
secondary
#EAF0C2
accent
#E302C5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7662F4

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

Preview Lab → · Contrast checker → · Palette generator →

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