#7962DA#7962DA

#7962DA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.176 H 288.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7962DA
RGBrgb(121, 98, 218)
HSLhsl(252, 62%, 62%)
HSVhsv(252, 55%, 85%)
CMYKcmyk(44.5%, 55%, 0%, 14.5%)
CIE-LABlab(49.33, 38.37, -58.70)
CIE-LCHlch(49.33, 70.12, 303.17°)
OKLaboklab(57.9% 0.0558 -0.1672)
OKLCHoklch(57.9% 0.176 288.5)
XYZxyz(24.9041, 17.8613, 68.4515)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962DA #C3DA62
analogous
#6287DA #7962DA #B562DA
triadic
#7962DA #DA7962 #62DA79
tetradic
#7962DA #DA6287 #C3DA62 #62DAB5
square
#7962DA #DA6287 #C3DA62 #62DAB5
split-complementary
#7962DA #DAB562 #87DA62
monochromatic
#3C259D #4F31CE #7962DA #A394E6 #CEC5F1

Accessibility & contrast

On white

4.59
#7962DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7962DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7962DA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962DA#FFFFFF#000000##FFFFFF
##7962DA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#2172D7
Tritanopia (blue-blind)
#5B7C95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7962da;
/* rgb */ color: rgb(121, 98, 218);
/* oklch */ color: oklch(57.9% 0.176 288.5);
Tailwind
colors: {
  custom: {
    50: '#a68fe6',
    500: '#7962da',
    950: '#000000',
  },
}
SCSS
$custom: #7962da;
$custom-light: #a68fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7962da",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 251.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.579,
    "c": 0.17629,
    "h": 288.5
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#7962DA
secondary
#DAE2B6
accent
#CA1CA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7962DA

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

Preview Lab → · Contrast checker → · Palette generator →

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