#7865FC#7865FC

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

Color values

HEX#7865FC
RGBrgb(120, 101, 252)
HSLhsl(248, 96%, 69%)
HSVhsv(248, 60%, 99%)
CMYKcmyk(52.4%, 59.9%, 0%, 1.2%)
CIE-LABlab(52.20, 46.31, -73.13)
CIE-LCHlch(52.20, 86.56, 302.35°)
OKLaboklab(60.73% 0.0508 -0.2097)
OKLCHoklch(60.73% 0.216 283.6)
XYZxyz(29.9648, 20.3270, 94.4212)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865FC #E9FC65
analogous
#659EFC #7865FC #C465FC
triadic
#7865FC #FC7865 #65FC78
tetradic
#7865FC #FC659E #E9FC65 #65FCC4
square
#7865FC #FC659E #E9FC65 #65FCC4
split-complementary
#7865FC #FCC465 #9EFC65
monochromatic
#2004E2 #4329FB #7865FC #ADA1FD #E1DDFE

Accessibility & contrast

On white

4.15
#7865FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7865FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865FC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865FC#FFFFFF#000000##000000
##7865FC1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#4089A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7865fc;
/* rgb */ color: rgb(120, 101, 252);
/* oklch */ color: oklch(60.7% 0.216 283.6);
Tailwind
colors: {
  custom: {
    50: '#a992fe',
    500: '#7865fc',
    950: '#000000',
  },
}
SCSS
$custom: #7865fc;
$custom-light: #a992fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7865fc",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 252
  },
  "hsl": {
    "h": 247.55,
    "s": 96.178,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.21576,
    "h": 283.6
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7865FC

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

Preview Lab → · Contrast checker → · Palette generator →

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