#7965CA#7965CA

#7965CA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.151 H 289.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7965CA
RGBrgb(121, 101, 202)
HSLhsl(252, 49%, 59%)
HSVhsv(252, 50%, 79%)
CMYKcmyk(40.1%, 50%, 0%, 20.8%)
CIE-LABlab(49.05, 32.07, -50.01)
CIE-LCHlch(49.05, 59.41, 302.67°)
OKLaboklab(57.38% 0.0513 -0.1417)
OKLCHoklch(57.38% 0.151 289.9)
XYZxyz(23.1966, 17.6359, 58.0475)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965CA #B6CA65
analogous
#6584CA #7965CA #AC65CA
triadic
#7965CA #CA7965 #65CA79
tetradic
#7965CA #CA6584 #B6CA65 #65CAAC
square
#7965CA #CA6584 #B6CA65 #65CAAC
split-complementary
#7965CA #CAAC65 #84CA65
monochromatic
#402E86 #553EB4 #7965CA #A193DA #C8C0E9

Accessibility & contrast

On white

4.64
#7965CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7965CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7965CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965CA#FFFFFF#000000##FFFFFF
##7965CA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#637A8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7965ca;
/* rgb */ color: rgb(121, 101, 202);
/* oklch */ color: oklch(57.4% 0.151 289.9);
Tailwind
colors: {
  custom: {
    50: '#a491db',
    500: '#7965ca',
    950: '#000000',
  },
}
SCSS
$custom: #7965ca;
$custom-light: #a491db;
$custom-dark: #000000;
JSON
{
  "hex": "#7965ca",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 251.881,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.15071,
    "h": 289.9
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#7965CA
secondary
#D1D9B2
accent
#D84FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7965CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7965CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva