#7662F8#7662F8

#7662F8 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.8% C 0.215 H 283.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7662F8
RGBrgb(118, 98, 248)
HSLhsl(248, 91%, 68%)
HSVhsv(248, 60%, 97%)
CMYKcmyk(52.4%, 60.5%, 0%, 2.7%)
CIE-LABlab(51.11, 46.48, -72.69)
CIE-LCHlch(51.11, 86.28, 302.60°)
OKLaboklab(59.79% 0.0515 -0.2085)
OKLCHoklch(59.79% 0.215 283.9)
XYZxyz(28.7770, 19.3626, 91.0097)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662F8 #E4F862
analogous
#6299F8 #7662F8 #C162F8
triadic
#7662F8 #F87662 #62F876
tetradic
#7662F8 #F86299 #E4F862 #62F8C1
square
#7662F8 #F86299 #E4F862 #62F8C1
split-complementary
#7662F8 #F8C162 #99F862
monochromatic
#250AD6 #4327F5 #7662F8 #A99DFB #DCD7FD

Accessibility & contrast

On white

4.31
#7662F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7662F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662F8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662F8#FFFFFF#000000##000000
##7662F81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#3F86A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7662f8;
/* rgb */ color: rgb(118, 98, 248);
/* oklch */ color: oklch(59.8% 0.215 283.9);
Tailwind
colors: {
  custom: {
    50: '#a78ffc',
    500: '#7662f8',
    950: '#000000',
  },
}
SCSS
$custom: #7662f8;
$custom-light: #a78ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7662f8",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 248,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.21473,
    "h": 283.9
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#7662F8
secondary
#ECF2C4
accent
#E600C7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7662F8

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

Preview Lab → · Contrast checker → · Palette generator →

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