#7865EF#7865EF

#7865EF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.8% C 0.199 H 284.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7865EF
RGBrgb(120, 101, 239)
HSLhsl(248, 81%, 67%)
HSVhsv(248, 58%, 94%)
CMYKcmyk(49.8%, 57.7%, 0%, 6.3%)
CIE-LABlab(51.30, 42.49, -67.35)
CIE-LCHlch(51.30, 79.63, 302.25°)
OKLaboklab(59.78% 0.0513 -0.1927)
OKLCHoklch(59.78% 0.199 284.9)
XYZxyz(27.9748, 19.5310, 83.9404)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865EF #DCEF65
analogous
#6597EF #7865EF #BD65EF
triadic
#7865EF #EF7865 #65EF78
tetradic
#7865EF #EF6597 #DCEF65 #65EFBD
square
#7865EF #EF6597 #DCEF65 #65EFBD
split-complementary
#7865EF #EFBD65 #97EF65
monochromatic
#2D14C5 #472EE9 #7865EF #A99CF5 #D9D4FB

Accessibility & contrast

On white

4.28
#7865EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7865EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865EF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865EF#FFFFFF#000000##000000
##7865EF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#4C85A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7865ef;
/* rgb */ color: rgb(120, 101, 239);
/* oklch */ color: oklch(59.8% 0.199 284.9);
Tailwind
colors: {
  custom: {
    50: '#a791f5',
    500: '#7865ef',
    950: '#000000',
  },
}
SCSS
$custom: #7865ef;
$custom-light: #a791f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7865ef",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 248.261,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.19939,
    "h": 284.9
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#7865EF
secondary
#E8EEC2
accent
#DE08C0
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7865EF

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

Preview Lab → · Contrast checker → · Palette generator →

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