#7865F7#7865F7

#7865F7 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.4% C 0.209 H 284.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7865F7
RGBrgb(120, 101, 247)
HSLhsl(248, 90%, 68%)
HSVhsv(248, 59%, 97%)
CMYKcmyk(51.4%, 59.1%, 0%, 3.1%)
CIE-LABlab(51.85, 44.84, -70.92)
CIE-LCHlch(51.85, 83.91, 302.30°)
OKLaboklab(60.36% 0.0511 -0.2032)
OKLCHoklch(60.36% 0.21 284.1)
XYZxyz(29.1828, 20.0143, 90.3031)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865F7 #E4F765
analogous
#659BF7 #7865F7 #C165F7
triadic
#7865F7 #F77865 #65F778
tetradic
#7865F7 #F7659B #E4F765 #65F7C1
square
#7865F7 #F7659B #E4F765 #65F7C1
split-complementary
#7865F7 #F7C165 #9BF765
monochromatic
#260BD6 #452BF4 #7865F7 #AB9FFA #DED9FD

Accessibility & contrast

On white

4.20
#7865F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7865F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865F7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865F7#FFFFFF#000000##000000
##7865F71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#4587A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7865f7;
/* rgb */ color: rgb(120, 101, 247);
/* oklch */ color: oklch(60.4% 0.209 284.1);
Tailwind
colors: {
  custom: {
    50: '#a892fb',
    500: '#7865f7',
    950: '#000000',
  },
}
SCSS
$custom: #7865f7;
$custom-light: #a892fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7865f7",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 247
  },
  "hsl": {
    "h": 247.808,
    "s": 90.123,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.2095,
    "h": 284.1
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#7865F7
secondary
#ECF2C6
accent
#E600C8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7865F7

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

Preview Lab → · Contrast checker → · Palette generator →

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