#7662FD#7662FD

#7662FD is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 60.2% C 0.221 H 283.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7662FD
RGBrgb(118, 98, 253)
HSLhsl(248, 97%, 69%)
HSVhsv(248, 61%, 99%)
CMYKcmyk(53.4%, 61.3%, 0%, 0.8%)
CIE-LABlab(51.47, 47.95, -74.88)
CIE-LCHlch(51.47, 88.92, 302.63°)
OKLaboklab(60.17% 0.0512 -0.2149)
OKLCHoklch(60.17% 0.221 283.4)
XYZxyz(29.5631, 19.6770, 95.1497)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662FD #E9FD62
analogous
#629CFD #7662FD #C462FD
triadic
#7662FD #FD7662 #62FD76
tetradic
#7662FD #FD629C #E9FD62 #62FDC4
square
#7662FD #FD629C #E9FD62 #62FDC4
split-complementary
#7662FD #FDC462 #9CFD62
monochromatic
#2003E2 #4126FC #7662FD #AB9EFE #DFDBFF

Accessibility & contrast

On white

4.25
#7662FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7662FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662FD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662FD#FFFFFF#000000##000000
##7662FD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#3A88A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7662fd;
/* rgb */ color: rgb(118, 98, 253);
/* oklch */ color: oklch(60.2% 0.221 283.4);
Tailwind
colors: {
  custom: {
    50: '#a890ff',
    500: '#7662fd',
    950: '#000000',
  },
}
SCSS
$custom: #7662fd;
$custom-light: #a890ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7662fd",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 247.742,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.22092,
    "h": 283.4
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7662FD

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

Preview Lab → · Contrast checker → · Palette generator →

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