#7865EB#7865EB

#7865EB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.5% C 0.194 H 285.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7865EB
RGBrgb(120, 101, 235)
HSLhsl(249, 77%, 66%)
HSVhsv(249, 57%, 92%)
CMYKcmyk(48.9%, 57%, 0%, 7.8%)
CIE-LABlab(51.03, 41.32, -65.54)
CIE-LCHlch(51.03, 77.48, 302.23°)
OKLaboklab(59.49% 0.0513 -0.1874)
OKLCHoklch(59.49% 0.194 285.3)
XYZxyz(27.3904, 19.2973, 80.8627)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865EB #D8EB65
analogous
#6595EB #7865EB #BB65EB
triadic
#7865EB #EB7865 #65EB78
tetradic
#7865EB #EB6595 #D8EB65 #65EBBB
square
#7865EB #EB6595 #D8EB65 #65EBBB
split-complementary
#7865EB #EBBB65 #95EB65
monochromatic
#3019BD #492FE4 #7865EB #A79BF2 #D7D1F9

Accessibility & contrast

On white

4.32
#7865EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7865EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865EB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865EB#FFFFFF#000000##000000
##7865EB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#4F849E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7865eb;
/* rgb */ color: rgb(120, 101, 235);
/* oklch */ color: oklch(59.5% 0.194 285.3);
Tailwind
colors: {
  custom: {
    50: '#a791f2',
    500: '#7865eb',
    950: '#000000',
  },
}
SCSS
$custom: #7865eb;
$custom-light: #a791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7865eb",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 248.507,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.19428,
    "h": 285.3
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#7865EB
secondary
#E6ECC0
accent
#D90CBC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7865EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7865EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva