#7962DD#7962DD

#7962DD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.180 H 288.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7962DD
RGBrgb(121, 98, 221)
HSLhsl(251, 64%, 63%)
HSVhsv(251, 56%, 87%)
CMYKcmyk(45.2%, 55.7%, 0%, 13.3%)
CIE-LABlab(49.52, 39.22, -60.09)
CIE-LCHlch(49.52, 71.76, 303.13°)
OKLaboklab(58.1% 0.0559 -0.1713)
OKLCHoklch(58.1% 0.18 288.1)
XYZxyz(25.3003, 18.0198, 70.5377)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962DD #C6DD62
analogous
#6288DD #7962DD #B762DD
triadic
#7962DD #DD7962 #62DD79
tetradic
#7962DD #DD6288 #C6DD62 #62DDB7
square
#7962DD #DD6288 #C6DD62 #62DDB7
split-complementary
#7962DD #DDB762 #88DD62
monochromatic
#3B23A2 #4E30D2 #7962DD #A494E8 #CFC7F3

Accessibility & contrast

On white

4.56
#7962DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7962DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962DD#FFFFFF#000000##000000
##7962DD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#1A73DA
Tritanopia (blue-blind)
#5A7D96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7962dd;
/* rgb */ color: rgb(121, 98, 221);
/* oklch */ color: oklch(58.1% 0.180 288.1);
Tailwind
colors: {
  custom: {
    50: '#a68fe8',
    500: '#7962dd',
    950: '#000000',
  },
}
SCSS
$custom: #7962dd;
$custom-light: #a68fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7962dd",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 251.22,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.18019,
    "h": 288.1
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#7962DD
secondary
#DBE4B7
accent
#CC19AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7962DD

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

Preview Lab → · Contrast checker → · Palette generator →

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