#7865F3#7865F3

#7865F3 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.1% C 0.204 H 284.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7865F3
RGBrgb(120, 101, 243)
HSLhsl(248, 86%, 67%)
HSVhsv(248, 58%, 95%)
CMYKcmyk(50.6%, 58.4%, 0%, 4.7%)
CIE-LABlab(51.58, 43.67, -69.14)
CIE-LCHlch(51.58, 81.77, 302.28°)
OKLaboklab(60.07% 0.0512 -0.1979)
OKLCHoklch(60.07% 0.204 284.5)
XYZxyz(28.5722, 19.7700, 87.0871)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865F3 #E0F365
analogous
#6599F3 #7865F3 #BF65F3
triadic
#7865F3 #F37865 #65F378
tetradic
#7865F3 #F36599 #E0F365 #65F3BF
square
#7865F3 #F36599 #E0F365 #65F3BF
split-complementary
#7865F3 #F3BF65 #99F365
monochromatic
#2910CE #462CEF #7865F3 #AA9EF7 #DCD7FC

Accessibility & contrast

On white

4.24
#7865F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7865F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865F3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865F3#FFFFFF#000000##000000
##7865F31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#4886A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7865f3;
/* rgb */ color: rgb(120, 101, 243);
/* oklch */ color: oklch(60.1% 0.204 284.5);
Tailwind
colors: {
  custom: {
    50: '#a891f8',
    500: '#7865f3',
    950: '#000000',
  },
}
SCSS
$custom: #7865f3;
$custom-light: #a891f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7865f3",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 243
  },
  "hsl": {
    "h": 248.028,
    "s": 85.542,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.20446,
    "h": 284.5
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#7865F3
secondary
#EAF0C4
accent
#E203C4
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7865F3

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

Preview Lab → · Contrast checker → · Palette generator →

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