#7662DB#7662DB

#7662DB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.7% C 0.178 H 287.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7662DB
RGBrgb(118, 98, 219)
HSLhsl(250, 63%, 62%)
HSVhsv(250, 55%, 86%)
CMYKcmyk(46.1%, 55.3%, 0%, 14.1%)
CIE-LABlab(49.13, 38.00, -59.60)
CIE-LCHlch(49.13, 70.68, 302.52°)
OKLaboklab(57.71% 0.0521 -0.1699)
OKLCHoklch(57.71% 0.178 287)
XYZxyz(24.6214, 17.7004, 69.1233)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7662DB #C7DB62
analogous
#628BDB #7662DB #B262DB
triadic
#7662DB #DB7662 #62DB76
tetradic
#7662DB #DB628B #C7DB62 #62DBB2
square
#7662DB #DB628B #C7DB62 #62DBB2
split-complementary
#7662DB #DBB262 #8BDB62
monochromatic
#38249E #4B30D0 #7662DB #A194E6 #CDC6F2

Accessibility & contrast

On white

4.63
#7662DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7662DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7662DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7662DB#FFFFFF#000000##FFFFFF
##7662DB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#1A71D8
Tritanopia (blue-blind)
#557D95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7662db;
/* rgb */ color: rgb(118, 98, 219);
/* oklch */ color: oklch(57.7% 0.178 287.0);
Tailwind
colors: {
  custom: {
    50: '#a48fe7',
    500: '#7662db',
    950: '#000000',
  },
}
SCSS
$custom: #7662db;
$custom-light: #a48fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7662db",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 249.917,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.17775,
    "h": 287
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#7662DB
secondary
#DBE3B6
accent
#CA1BAD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7662DB

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

Preview Lab → · Contrast checker → · Palette generator →

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