#7962BE#7962BE

#7962BE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.1% C 0.139 H 292.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7962BE
RGBrgb(121, 98, 190)
HSLhsl(255, 41%, 56%)
HSVhsv(255, 48%, 75%)
CMYKcmyk(36.3%, 48.4%, 0%, 25.5%)
CIE-LABlab(47.65, 30.53, -45.34)
CIE-LCHlch(47.65, 54.66, 303.95°)
OKLaboklab(56.11% 0.054 -0.128)
OKLCHoklch(56.11% 0.139 292.9)
XYZxyz(21.5447, 16.5175, 50.7583)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962BE #A7BE62
analogous
#6279BE #7962BE #A762BE
triadic
#7962BE #BE7962 #62BE79
tetradic
#7962BE #BE6279 #A7BE62 #62BEA7
square
#7962BE #BE6279 #A7BE62 #62BEA7
split-complementary
#7962BE #BEA762 #79BE62
monochromatic
#423075 #5A42A0 #7962BE #9E8DD0 #C3B9E2

Accessibility & contrast

On white

4.88
#7962BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7962BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7962BE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962BE#FFFFFF#000000##FFFFFF
##7962BE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#687487
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7962be;
/* rgb */ color: rgb(121, 98, 190);
/* oklch */ color: oklch(56.1% 0.139 292.9);
Tailwind
colors: {
  custom: {
    50: '#a38fd2',
    500: '#7962be',
    950: '#000000',
  },
}
SCSS
$custom: #7962be;
$custom-light: #a38fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7962be",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.13896,
    "h": 292.9
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#7962BE
secondary
#C7D1AB
accent
#D157B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7962BE

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

Preview Lab → · Contrast checker → · Palette generator →

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