#7962BB#7962BB

#7962BB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 55.9% C 0.135 H 293.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7962BB
RGBrgb(121, 98, 187)
HSLhsl(256, 40%, 56%)
HSVhsv(256, 48%, 73%)
CMYKcmyk(35.3%, 47.6%, 0%, 26.7%)
CIE-LABlab(47.48, 29.71, -43.87)
CIE-LCHlch(47.48, 52.98, 304.11°)
OKLaboklab(55.93% 0.0537 -0.1237)
OKLCHoklch(55.93% 0.135 293.5)
XYZxyz(21.2202, 16.3877, 49.0492)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962BB #A4BB62
analogous
#6277BB #7962BB #A662BB
triadic
#7962BB #BB7962 #62BB79
tetradic
#7962BB #BB6277 #A4BB62 #62BBA6
square
#7962BB #BB6277 #A4BB62 #62BBA6
split-complementary
#7962BB #BBA662 #77BB62
monochromatic
#423171 #5B449C #7962BB #9D8DCD #C2B7E0

Accessibility & contrast

On white

4.91
#7962BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7962BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7962BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962BB#FFFFFF#000000##FFFFFF
##7962BB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#697385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7962bb;
/* rgb */ color: rgb(121, 98, 187);
/* oklch */ color: oklch(55.9% 0.135 293.5);
Tailwind
colors: {
  custom: {
    50: '#a38fd0',
    500: '#7962bb',
    950: '#000000',
  },
}
SCSS
$custom: #7962bb;
$custom-light: #a38fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7962bb",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 255.506,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.13486,
    "h": 293.5
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#7962BB
secondary
#C5CFAA
accent
#CF58B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7962BB

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

Preview Lab → · Contrast checker → · Palette generator →

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