#7965D9#7965D9

#7965D9 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.171 H 287.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7965D9
RGBrgb(121, 101, 217)
HSLhsl(250, 60%, 62%)
HSVhsv(250, 53%, 85%)
CMYKcmyk(44.2%, 53.5%, 0%, 14.9%)
CIE-LABlab(49.96, 36.32, -57.12)
CIE-LCHlch(49.96, 67.69, 302.45°)
OKLaboklab(58.35% 0.0523 -0.1626)
OKLCHoklch(58.35% 0.171 287.8)
XYZxyz(25.0597, 18.3811, 67.8597)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965D9 #C5D965
analogous
#658BD9 #7965D9 #B365D9
triadic
#7965D9 #D97965 #65D979
tetradic
#7965D9 #D9658B #C5D965 #65D9B3
square
#7965D9 #D9658B #C5D965 #65D9B3
split-complementary
#7965D9 #D9B365 #8BD965
monochromatic
#3B279D #4E34CD #7965D9 #A496E5 #CEC7F1

Accessibility & contrast

On white

4.49
#7965D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7965D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7965D9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965D9#FFFFFF#000000##000000
##7965D91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#5C7E95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7965d9;
/* rgb */ color: rgb(121, 101, 217);
/* oklch */ color: oklch(58.3% 0.171 287.8);
Tailwind
colors: {
  custom: {
    50: '#a591e5',
    500: '#7965d9',
    950: '#000000',
  },
}
SCSS
$custom: #7965d9;
$custom-light: #a591e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7965d9",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 217
  },
  "hsl": {
    "h": 250.345,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.17078,
    "h": 287.8
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#7965D9
secondary
#DBE2B8
accent
#C81DAB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7965D9

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

Preview Lab → · Contrast checker → · Palette generator →

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