#7965BC#7965BC

#7965BC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.5% C 0.132 H 292.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7965BC
RGBrgb(121, 101, 188)
HSLhsl(254, 39%, 57%)
HSVhsv(254, 46%, 74%)
CMYKcmyk(35.6%, 46.3%, 0%, 26.3%)
CIE-LABlab(48.26, 28.19, -43.20)
CIE-LCHlch(48.26, 51.59, 303.12°)
OKLaboklab(56.53% 0.0498 -0.1218)
OKLCHoklch(56.53% 0.132 292.2)
XYZxyz(21.6136, 17.0027, 49.7103)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965BC #A8BC65
analogous
#657DBC #7965BC #A565BC
triadic
#7965BC #BC7965 #65BC79
tetradic
#7965BC #BC657D #A8BC65 #65BCA5
square
#7965BC #BC657D #A8BC65 #65BCA5
split-complementary
#7965BC #BCA565 #7DBC65
monochromatic
#423374 #5A459F #7965BC #9E90CF #C3BAE1

Accessibility & contrast

On white

4.77
#7965BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7965BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7965BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965BC#FFFFFF#000000##FFFFFF
##7965BC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#697687
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7965bc;
/* rgb */ color: rgb(121, 101, 188);
/* oklch */ color: oklch(56.5% 0.132 292.2);
Tailwind
colors: {
  custom: {
    50: '#a391d0',
    500: '#7965bc',
    950: '#000000',
  },
}
SCSS
$custom: #7965bc;
$custom-light: #a391d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7965bc",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 253.793,
    "s": 39.367,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.13155,
    "h": 292.2
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#7965BC
secondary
#C8D0AD
accent
#CF59B4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7965BC

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

Preview Lab → · Contrast checker → · Palette generator →

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