#7965BB#7965BB

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

Color values

HEX#7965BB
RGBrgb(121, 101, 187)
HSLhsl(254, 39%, 56%)
HSVhsv(254, 46%, 73%)
CMYKcmyk(35.3%, 46%, 0%, 26.7%)
CIE-LABlab(48.21, 27.92, -42.71)
CIE-LCHlch(48.21, 51.02, 303.17°)
OKLaboklab(56.47% 0.0497 -0.1203)
OKLCHoklch(56.47% 0.13 292.4)
XYZxyz(21.5061, 16.9597, 49.1445)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965BB #A7BB65
analogous
#657CBB #7965BB #A465BB
triadic
#7965BB #BB7965 #65BB79
tetradic
#7965BB #BB657C #A7BB65 #65BBA4
square
#7965BB #BB657C #A7BB65 #65BBA4
split-complementary
#7965BB #BBA465 #7CBB65
monochromatic
#423373 #5A459D #7965BB #9E8FCE #C3BAE0

Accessibility & contrast

On white

4.78
#7965BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7965BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7965BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965BB#FFFFFF#000000##FFFFFF
##7965BB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#697587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7965bb;
/* rgb */ color: rgb(121, 101, 187);
/* oklch */ color: oklch(56.5% 0.130 292.4);
Tailwind
colors: {
  custom: {
    50: '#a291d0',
    500: '#7965bb',
    950: '#000000',
  },
}
SCSS
$custom: #7965bb;
$custom-light: #a291d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7965bb",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 253.953,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.13017,
    "h": 292.4
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#7965BB
secondary
#C7D0AC
accent
#CF59B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7965BB

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

Preview Lab → · Contrast checker → · Palette generator →

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