#7962ED#7962ED

#7962ED is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.2% C 0.201 H 286.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7962ED
RGBrgb(121, 98, 237)
HSLhsl(250, 79%, 66%)
HSVhsv(250, 59%, 93%)
CMYKcmyk(48.9%, 58.6%, 0%, 7.1%)
CIE-LABlab(50.59, 43.83, -67.38)
CIE-LCHlch(50.59, 80.39, 303.04°)
OKLaboklab(59.23% 0.0557 -0.1928)
OKLCHoklch(59.23% 0.201 286.1)
XYZxyz(27.5344, 18.9134, 82.3042)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962ED #D6ED62
analogous
#6290ED #7962ED #BE62ED
triadic
#7962ED #ED7962 #62ED79
tetradic
#7962ED #ED6290 #D6ED62 #62EDBE
square
#7962ED #ED6290 #D6ED62 #62EDBE
split-complementary
#7962ED #EDBE62 #90ED62
monochromatic
#3216BF #4A2BE7 #7962ED #A899F3 #D7D0FA

Accessibility & contrast

On white

4.39
#7962ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7962ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962ED
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962ED#FFFFFF#000000##000000
##7962ED1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#50829E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7962ed;
/* rgb */ color: rgb(121, 98, 237);
/* oklch */ color: oklch(59.2% 0.201 286.1);
Tailwind
colors: {
  custom: {
    50: '#a88ff4',
    500: '#7962ed',
    950: '#000000',
  },
}
SCSS
$custom: #7962ed;
$custom-light: #a88ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7962ed",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 249.928,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.20066,
    "h": 286.1
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#7962ED
secondary
#E5EDBE
accent
#DC0AB9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7962ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7962ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva