#7965CF#7965CF

#7965CF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.157 H 289.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7965CF
RGBrgb(121, 101, 207)
HSLhsl(251, 52%, 60%)
HSVhsv(251, 51%, 81%)
CMYKcmyk(41.5%, 51.2%, 0%, 18.8%)
CIE-LABlab(49.35, 33.48, -52.40)
CIE-LCHlch(49.35, 62.18, 302.57°)
OKLaboklab(57.69% 0.0517 -0.1487)
OKLCHoklch(57.69% 0.157 289.2)
XYZxyz(23.7982, 17.8765, 61.2160)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965CF #BBCF65
analogous
#6586CF #7965CF #AE65CF
triadic
#7965CF #CF7965 #65CF79
tetradic
#7965CF #CF6586 #BBCF65 #65CFAE
square
#7965CF #CF6586 #BBCF65 #65CFAE
split-complementary
#7965CF #CFAE65 #86CF65
monochromatic
#3E2C8D #533BBC #7965CF #A294DE #CAC2EC

Accessibility & contrast

On white

4.59
#7965CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7965CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7965CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965CF#FFFFFF#000000##FFFFFF
##7965CF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#617B90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7965cf;
/* rgb */ color: rgb(121, 101, 207);
/* oklch */ color: oklch(57.7% 0.157 289.2);
Tailwind
colors: {
  custom: {
    50: '#a491de',
    500: '#7965cf',
    950: '#000000',
  },
}
SCSS
$custom: #7965cf;
$custom-light: #a491de;
$custom-dark: #000000;
JSON
{
  "hex": "#7965cf",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 251.321,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.15746,
    "h": 289.2
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#7965CF
secondary
#D5DCB4
accent
#C026A3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7965CF

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

Preview Lab → · Contrast checker → · Palette generator →

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