#7662FB#7662FB

#7662FB is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.0% C 0.218 H 283.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7662FB
RGBrgb(118, 98, 251)
HSLhsl(248, 95%, 68%)
HSVhsv(248, 61%, 98%)
CMYKcmyk(53%, 61%, 0%, 1.6%)
CIE-LABlab(51.32, 47.36, -74.01)
CIE-LCHlch(51.32, 87.87, 302.62°)
OKLaboklab(60.02% 0.0513 -0.2123)
OKLCHoklch(60.02% 0.218 283.6)
XYZxyz(29.2462, 19.5503, 93.4806)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662FB #E7FB62
analogous
#629AFB #7662FB #C262FB
triadic
#7662FB #FB7662 #62FB76
tetradic
#7662FB #FB629A #E7FB62 #62FBC2
square
#7662FB #FB629A #E7FB62 #62FBC2
split-complementary
#7662FB #FBC262 #9AFB62
monochromatic
#2206DD #4226F9 #7662FB #AA9EFD #DED9FE

Accessibility & contrast

On white

4.28
#7662FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7662FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662FB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662FB#FFFFFF#000000##000000
##7662FB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7662fb;
/* rgb */ color: rgb(118, 98, 251);
/* oklch */ color: oklch(60.0% 0.218 283.6);
Tailwind
colors: {
  custom: {
    50: '#a890fe',
    500: '#7662fb',
    950: '#000000',
  },
}
SCSS
$custom: #7662fb;
$custom-light: #a890fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7662fb",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 247.843,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.21845,
    "h": 283.6
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7662FB

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

Preview Lab → · Contrast checker → · Palette generator →

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