#7965DB#7965DB

#7965DB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.173 H 287.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7965DB
RGBrgb(121, 101, 219)
HSLhsl(250, 62%, 63%)
HSVhsv(250, 54%, 86%)
CMYKcmyk(44.7%, 53.9%, 0%, 14.1%)
CIE-LABlab(50.08, 36.90, -58.05)
CIE-LCHlch(50.08, 68.79, 302.44°)
OKLaboklab(58.48% 0.0524 -0.1653)
OKLCHoklch(58.48% 0.173 287.6)
XYZxyz(25.3214, 18.4858, 69.2380)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965DB #C7DB65
analogous
#658CDB #7965DB #B465DB
triadic
#7965DB #DB7965 #65DB79
tetradic
#7965DB #DB658C #C7DB65 #65DBB4
square
#7965DB #DB658C #C7DB65 #65DBB4
split-complementary
#7965DB #DBB465 #8CDB65
monochromatic
#3A25A0 #4E33CF #7965DB #A497E7 #CFC8F2

Accessibility & contrast

On white

4.47
#7965DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7965DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7965DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965DB#FFFFFF#000000##000000
##7965DB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#5B7F96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7965db;
/* rgb */ color: rgb(121, 101, 219);
/* oklch */ color: oklch(58.5% 0.173 287.6);
Tailwind
colors: {
  custom: {
    50: '#a691e7',
    500: '#7965db',
    950: '#000000',
  },
}
SCSS
$custom: #7965db;
$custom-light: #a691e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7965db",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 250.169,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.17342,
    "h": 287.6
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#7965DB
secondary
#DCE3B9
accent
#CA1CAC
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7965DB

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

Preview Lab → · Contrast checker → · Palette generator →

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