#7662FF#7662FF

#7662FF is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.3% C 0.223 H 283.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7662FF
RGBrgb(118, 98, 255)
HSLhsl(248, 100%, 69%)
HSVhsv(248, 62%, 100%)
CMYKcmyk(53.7%, 61.6%, 0%, 0%)
CIE-LABlab(51.62, 48.54, -75.75)
CIE-LCHlch(51.62, 89.97, 302.65°)
OKLaboklab(60.32% 0.051 -0.2175)
OKLCHoklch(60.32% 0.223 283.2)
XYZxyz(29.8834, 19.8052, 96.8365)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662FF #EBFF62
analogous
#629DFF #7662FF #C462FF
triadic
#7662FF #FF7662 #62FF76
tetradic
#7662FF #FF629D #EBFF62 #62FFC4
square
#7662FF #FF629D #EBFF62 #62FFC4
split-complementary
#7662FF #FFC462 #9DFF62
monochromatic
#1D00E7 #4125FF #7662FF #AB9FFF #E1DCFF

Accessibility & contrast

On white

4.23
#7662FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7662FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662FF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662FF#FFFFFF#000000##000000
##7662FF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#3888A8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7662ff;
/* rgb */ color: rgb(118, 98, 255);
/* oklch */ color: oklch(60.3% 0.223 283.2);
Tailwind
colors: {
  custom: {
    50: '#a890ff',
    500: '#7662ff',
    950: '#000000',
  },
}
SCSS
$custom: #7662ff;
$custom-light: #a890ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7662ff",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 247.643,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.22338,
    "h": 283.2
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7662FF

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

Preview Lab → · Contrast checker → · Palette generator →

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