#7865FB#7865FB

#7865FB is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.7% C 0.214 H 283.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7865FB
RGBrgb(120, 101, 251)
HSLhsl(248, 95%, 69%)
HSVhsv(248, 60%, 98%)
CMYKcmyk(52.2%, 59.8%, 0%, 1.6%)
CIE-LABlab(52.13, 46.02, -72.69)
CIE-LCHlch(52.13, 86.03, 302.34°)
OKLaboklab(60.65% 0.0509 -0.2084)
OKLCHoklch(60.65% 0.215 283.7)
XYZxyz(29.8067, 20.2638, 93.5888)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865FB #E8FB65
analogous
#659DFB #7865FB #C365FB
triadic
#7865FB #FB7865 #65FB78
tetradic
#7865FB #FB659D #E8FB65 #65FBC3
square
#7865FB #FB659D #E8FB65 #65FBC3
split-complementary
#7865FB #FBC365 #9DFB65
monochromatic
#2106E0 #4429F9 #7865FB #ACA1FD #E1DCFE

Accessibility & contrast

On white

4.16
#7865FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7865FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865FB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865FB#FFFFFF#000000##000000
##7865FB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#4189A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7865fb;
/* rgb */ color: rgb(120, 101, 251);
/* oklch */ color: oklch(60.7% 0.214 283.7);
Tailwind
colors: {
  custom: {
    50: '#a992fe',
    500: '#7865fb',
    950: '#000000',
  },
}
SCSS
$custom: #7865fb;
$custom-light: #a992fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7865fb",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 251
  },
  "hsl": {
    "h": 247.6,
    "s": 94.937,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.2145,
    "h": 283.7
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#7865FB
secondary
#EEF4C8
accent
#E600C8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7865FB

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

Preview Lab → · Contrast checker → · Palette generator →

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