#7965BF#7965BF

#7965BF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.7% C 0.136 H 291.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7965BF
RGBrgb(121, 101, 191)
HSLhsl(253, 41%, 57%)
HSVhsv(253, 47%, 75%)
CMYKcmyk(36.6%, 47.1%, 0%, 25.1%)
CIE-LABlab(48.43, 29.01, -44.68)
CIE-LCHlch(48.43, 53.27, 303.00°)
OKLaboklab(56.71% 0.0502 -0.1261)
OKLCHoklch(56.71% 0.136 291.7)
XYZxyz(21.9403, 17.1334, 51.4312)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965BF #ABBF65
analogous
#657EBF #7965BF #A665BF
triadic
#7965BF #BF7965 #65BF79
tetradic
#7965BF #BF657E #ABBF65 #65BFA6
square
#7965BF #BF657E #ABBF65 #65BFA6
split-complementary
#7965BF #BFA665 #7EBF65
monochromatic
#413278 #5944A3 #7965BF #9F90D1 #C4BBE3

Accessibility & contrast

On white

4.74
#7965BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7965BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7965BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965BF#FFFFFF#000000##FFFFFF
##7965BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#677789
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7965bf;
/* rgb */ color: rgb(121, 101, 191);
/* oklch */ color: oklch(56.7% 0.136 291.7);
Tailwind
colors: {
  custom: {
    50: '#a391d3',
    500: '#7965bf',
    950: '#000000',
  },
}
SCSS
$custom: #7965bf;
$custom-light: #a391d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7965bf",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 253.333,
    "s": 41.284,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.13569,
    "h": 291.7
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#7965BF
secondary
#CAD2AE
accent
#D157B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7965BF

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

Preview Lab → · Contrast checker → · Palette generator →

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