#7965CD#7965CD

#7965CD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.6% C 0.155 H 289.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7965CD
RGBrgb(121, 101, 205)
HSLhsl(252, 51%, 60%)
HSVhsv(252, 51%, 80%)
CMYKcmyk(41%, 50.7%, 0%, 19.6%)
CIE-LABlab(49.23, 32.91, -51.45)
CIE-LCHlch(49.23, 61.08, 302.61°)
OKLaboklab(57.57% 0.0516 -0.1459)
OKLCHoklch(57.57% 0.155 289.5)
XYZxyz(23.5552, 17.7793, 59.9364)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965CD #B9CD65
analogous
#6585CD #7965CD #AD65CD
triadic
#7965CD #CD7965 #65CD79
tetradic
#7965CD #CD6585 #B9CD65 #65CDAD
square
#7965CD #CD6585 #B9CD65 #65CDAD
split-complementary
#7965CD #CDAD65 #85CD65
monochromatic
#3F2D8B #543CB9 #7965CD #A193DC #C9C1EB

Accessibility & contrast

On white

4.61
#7965CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7965CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7965CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965CD#FFFFFF#000000##FFFFFF
##7965CD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#627A8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7965cd;
/* rgb */ color: rgb(121, 101, 205);
/* oklch */ color: oklch(57.6% 0.155 289.5);
Tailwind
colors: {
  custom: {
    50: '#a491dd',
    500: '#7965cd',
    950: '#000000',
  },
}
SCSS
$custom: #7965cd;
$custom-light: #a491dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7965cd",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 251.538,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.15477,
    "h": 289.5
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#7965CD
secondary
#D3DBB3
accent
#DA4DBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7965CD

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

Preview Lab → · Contrast checker → · Palette generator →

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