#7662FA#7662FA

#7662FA is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.9% C 0.217 H 283.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7662FA
RGBrgb(118, 98, 250)
HSLhsl(248, 94%, 68%)
HSVhsv(248, 61%, 98%)
CMYKcmyk(52.8%, 60.8%, 0%, 2%)
CIE-LABlab(51.25, 47.07, -73.57)
CIE-LCHlch(51.25, 87.34, 302.61°)
OKLaboklab(59.94% 0.0514 -0.211)
OKLCHoklch(59.94% 0.217 283.7)
XYZxyz(29.0890, 19.4874, 92.6526)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662FA #E6FA62
analogous
#629AFA #7662FA #C262FA
triadic
#7662FA #FA7662 #62FA76
tetradic
#7662FA #FA629A #E6FA62 #62FAC2
square
#7662FA #FA629A #E6FA62 #62FAC2
split-complementary
#7662FA #FAC262 #9AFA62
monochromatic
#2307DB #4227F8 #7662FA #AA9DFC #DED9FE

Accessibility & contrast

On white

4.29
#7662FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7662FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662FA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662FA#FFFFFF#000000##000000
##7662FA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7662fa;
/* rgb */ color: rgb(118, 98, 250);
/* oklch */ color: oklch(59.9% 0.217 283.7);
Tailwind
colors: {
  custom: {
    50: '#a88ffd',
    500: '#7662fa',
    950: '#000000',
  },
}
SCSS
$custom: #7662fa;
$custom-light: #a88ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7662fa",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 247.895,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.21721,
    "h": 283.7
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7662FA

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

Preview Lab → · Contrast checker → · Palette generator →

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