#7965EC#7965EC

#7965EC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.6% C 0.195 H 285.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7965EC
RGBrgb(121, 101, 236)
HSLhsl(249, 78%, 66%)
HSVhsv(249, 57%, 93%)
CMYKcmyk(48.7%, 57.2%, 0%, 7.5%)
CIE-LABlab(51.18, 41.82, -65.86)
CIE-LCHlch(51.18, 78.01, 302.41°)
OKLaboklab(59.65% 0.0526 -0.1883)
OKLCHoklch(59.65% 0.195 285.6)
XYZxyz(27.6747, 19.4271, 81.6322)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7965EC #D8EC65
analogous
#6594EC #7965EC #BC65EC
triadic
#7965EC #EC7965 #65EC79
tetradic
#7965EC #EC6594 #D8EC65 #65ECBC
square
#7965EC #EC6594 #D8EC65 #65ECBC
split-complementary
#7965EC #ECBC65 #94EC65
monochromatic
#3018BF #4A2FE5 #7965EC #A89BF3 #D8D2F9

Accessibility & contrast

On white

4.30
#7965EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7965EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7965EC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7965EC#FFFFFF#000000##000000
##7965EC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#50849F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7965ec;
/* rgb */ color: rgb(121, 101, 236);
/* oklch */ color: oklch(59.6% 0.195 285.6);
Tailwind
colors: {
  custom: {
    50: '#a791f3',
    500: '#7965ec',
    950: '#000000',
  },
}
SCSS
$custom: #7965ec;
$custom-light: #a791f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7965ec",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 248.889,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.19546,
    "h": 285.6
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#7965EC
secondary
#E6EDC0
accent
#DA0BBC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7965EC

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

Preview Lab → · Contrast checker → · Palette generator →

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