#7865FE#7865FE

#7865FE is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.9% C 0.218 H 283.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7865FE
RGBrgb(120, 101, 254)
HSLhsl(247, 99%, 70%)
HSVhsv(247, 60%, 100%)
CMYKcmyk(52.8%, 60.2%, 0%, 0.4%)
CIE-LABlab(52.35, 46.90, -74.00)
CIE-LCHlch(52.35, 87.61, 302.36°)
OKLaboklab(60.88% 0.0507 -0.2123)
OKLCHoklch(60.88% 0.218 283.4)
XYZxyz(30.2834, 20.4545, 96.0991)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865FE #EBFE65
analogous
#659FFE #7865FE #C565FE
triadic
#7865FE #FE7865 #65FE78
tetradic
#7865FE #FE659F #EBFE65 #65FEC5
square
#7865FE #FE659F #EBFE65 #65FEC5
split-complementary
#7865FE #FEC565 #9FFE65
monochromatic
#1E02E7 #4328FE #7865FE #ADA2FE #E3DFFF

Accessibility & contrast

On white

4.12
#7865FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7865FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865FE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865FE#FFFFFF#000000##000000
##7865FE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#3E8AA8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7865fe;
/* rgb */ color: rgb(120, 101, 254);
/* oklch */ color: oklch(60.9% 0.218 283.4);
Tailwind
colors: {
  custom: {
    50: '#a992ff',
    500: '#7865fe',
    950: '#000000',
  },
}
SCSS
$custom: #7865fe;
$custom-light: #a992ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7865fe",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 254
  },
  "hsl": {
    "h": 247.451,
    "s": 98.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.21824,
    "h": 283.4
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#7865FE
secondary
#F0F5CA
accent
#E600C9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7865FE

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

Preview Lab → · Contrast checker → · Palette generator →

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