#7662F3#7662F3

#7662F3 is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.4% C 0.208 H 284.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7662F3
RGBrgb(118, 98, 243)
HSLhsl(248, 86%, 67%)
HSVhsv(248, 60%, 95%)
CMYKcmyk(51.4%, 59.7%, 0%, 4.7%)
CIE-LABlab(50.75, 45.01, -70.48)
CIE-LCHlch(50.75, 83.63, 302.56°)
OKLaboklab(59.42% 0.0517 -0.202)
OKLCHoklch(59.42% 0.208 284.4)
XYZxyz(28.0117, 19.0565, 86.9789)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662F3 #DFF362
analogous
#6297F3 #7662F3 #BF62F3
triadic
#7662F3 #F37662 #62F376
tetradic
#7662F3 #F36297 #DFF362 #62F3BF
square
#7662F3 #F36297 #DFF362 #62F3BF
split-complementary
#7662F3 #F3BF62 #97F362
monochromatic
#2910CB #4429EF #7662F3 #A89BF7 #D9D4FC

Accessibility & contrast

On white

4.36
#7662F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7662F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7662F3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662F3#FFFFFF#000000##000000
##7662F31.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#4484A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7662f3;
/* rgb */ color: rgb(118, 98, 243);
/* oklch */ color: oklch(59.4% 0.208 284.4);
Tailwind
colors: {
  custom: {
    50: '#a78ff8',
    500: '#7662f3',
    950: '#000000',
  },
}
SCSS
$custom: #7662f3;
$custom-light: #a78ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#7662f3",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 248.276,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.20849,
    "h": 284.4
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#7662F3
secondary
#E9F0C1
accent
#E203C4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7662F3

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

Preview Lab → · Contrast checker → · Palette generator →

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