#7662FC#7662FC

#7662FC is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.1% C 0.220 H 283.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7662FC
RGBrgb(118, 98, 252)
HSLhsl(248, 96%, 69%)
HSVhsv(248, 61%, 99%)
CMYKcmyk(53.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(51.40, 47.66, -74.45)
CIE-LCHlch(51.40, 88.39, 302.63°)
OKLaboklab(60.1% 0.0512 -0.2136)
OKLCHoklch(60.1% 0.22 283.5)
XYZxyz(29.4042, 19.6135, 94.3130)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662FC #E8FC62
analogous
#629BFC #7662FC #C362FC
triadic
#7662FC #FC7662 #62FC76
tetradic
#7662FC #FC629B #E8FC62 #62FCC3
square
#7662FC #FC629B #E8FC62 #62FCC3
split-complementary
#7662FC #FCC362 #9BFC62
monochromatic
#2104DF #4226FB #7662FC #AA9EFD #DFDAFE

Accessibility & contrast

On white

4.27
#7662FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7662FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662FC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662FC#FFFFFF#000000##000000
##7662FC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#3B87A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7662fc;
/* rgb */ color: rgb(118, 98, 252);
/* oklch */ color: oklch(60.1% 0.220 283.5);
Tailwind
colors: {
  custom: {
    50: '#a890fe',
    500: '#7662fc',
    950: '#000000',
  },
}
SCSS
$custom: #7662fc;
$custom-light: #a890fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7662fc",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 247.792,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.21969,
    "h": 283.5
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#7662FC
secondary
#EEF4C6
accent
#E600C8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7662FC

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

Preview Lab → · Contrast checker → · Palette generator →

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