#7865EE#7865EE

#7865EE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.7% C 0.198 H 285.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7865EE
RGBrgb(120, 101, 238)
HSLhsl(248, 80%, 66%)
HSVhsv(248, 58%, 93%)
CMYKcmyk(49.6%, 57.6%, 0%, 6.7%)
CIE-LABlab(51.23, 42.20, -66.90)
CIE-LCHlch(51.23, 79.10, 302.25°)
OKLaboklab(59.71% 0.0513 -0.1913)
OKLCHoklch(59.71% 0.198 285)
XYZxyz(27.8274, 19.4721, 83.1646)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865EE #DBEE65
analogous
#6597EE #7865EE #BD65EE
triadic
#7865EE #EE7865 #65EE78
tetradic
#7865EE #EE6597 #DBEE65 #65EEBD
square
#7865EE #EE6597 #DBEE65 #65EEBD
split-complementary
#7865EE #EEBD65 #97EE65
monochromatic
#2E16C3 #482EE8 #7865EE #A89CF4 #D9D3FA

Accessibility & contrast

On white

4.29
#7865EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7865EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865EE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865EE#FFFFFF#000000##000000
##7865EE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#4C84A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7865ee;
/* rgb */ color: rgb(120, 101, 238);
/* oklch */ color: oklch(59.7% 0.198 285.0);
Tailwind
colors: {
  custom: {
    50: '#a791f4',
    500: '#7865ee',
    950: '#000000',
  },
}
SCSS
$custom: #7865ee;
$custom-light: #a791f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7865ee",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 238
  },
  "hsl": {
    "h": 248.321,
    "s": 80.117,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.19811,
    "h": 285
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#7865EE
secondary
#E7EEC1
accent
#DC09BF
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7865EE

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

Preview Lab → · Contrast checker → · Palette generator →

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