#7962FB#7962FB

#7962FB is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.3% C 0.218 H 284.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7962FB
RGBrgb(121, 98, 251)
HSLhsl(249, 95%, 68%)
HSVhsv(249, 61%, 98%)
CMYKcmyk(51.8%, 61%, 0%, 1.6%)
CIE-LABlab(51.57, 47.90, -73.60)
CIE-LCHlch(51.57, 87.81, 303.05°)
OKLaboklab(60.26% 0.055 -0.211)
OKLCHoklch(60.26% 0.218 284.6)
XYZxyz(29.6602, 19.7637, 93.5000)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962FB #E4FB62
analogous
#6297FB #7962FB #C662FB
triadic
#7962FB #FB7962 #62FB79
tetradic
#7962FB #FB6297 #E4FB62 #62FBC6
square
#7962FB #FB6297 #E4FB62 #62FBC6
split-complementary
#7962FB #FBC662 #97FB62
monochromatic
#2606DD #4626F9 #7962FB #AC9EFD #DFD9FE

Accessibility & contrast

On white

4.24
#7962FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7962FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962FB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962FB#FFFFFF#000000##000000
##7962FB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#4487A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7962fb;
/* rgb */ color: rgb(121, 98, 251);
/* oklch */ color: oklch(60.3% 0.218 284.6);
Tailwind
colors: {
  custom: {
    50: '#a990fe',
    500: '#7962fb',
    950: '#000000',
  },
}
SCSS
$custom: #7962fb;
$custom-light: #a990fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7962fb",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 249.02,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.21811,
    "h": 284.6
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#7962FB
secondary
#ECF3C5
accent
#E600C3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7962FB

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

Preview Lab → · Contrast checker → · Palette generator →

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