#7865E8#7865E8

#7865E8 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.3% C 0.190 H 285.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7865E8
RGBrgb(120, 101, 232)
HSLhsl(249, 74%, 65%)
HSVhsv(249, 56%, 91%)
CMYKcmyk(48.3%, 56.5%, 0%, 9%)
CIE-LABlab(50.83, 40.45, -64.18)
CIE-LCHlch(50.83, 75.86, 302.22°)
OKLaboklab(59.28% 0.0514 -0.1834)
OKLCHoklch(59.28% 0.19 285.6)
XYZxyz(26.9606, 19.1254, 78.5993)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865E8 #D5E865
analogous
#6594E8 #7865E8 #B965E8
triadic
#7865E8 #E87865 #65E878
tetradic
#7865E8 #E86594 #D5E865 #65E8B9
square
#7865E8 #E86594 #D5E865 #65E8B9
split-complementary
#7865E8 #E8B965 #94E865
monochromatic
#321BB7 #4930E0 #7865E8 #A79AF0 #D5CFF8

Accessibility & contrast

On white

4.35
#7865E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7865E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865E8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865E8#FFFFFF#000000##000000
##7865E81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#017DEC
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#51839D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7865e8;
/* rgb */ color: rgb(120, 101, 232);
/* oklch */ color: oklch(59.3% 0.190 285.6);
Tailwind
colors: {
  custom: {
    50: '#a691f0',
    500: '#7865e8',
    950: '#000000',
  },
}
SCSS
$custom: #7865e8;
$custom-light: #a691f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7865e8",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 232
  },
  "hsl": {
    "h": 248.702,
    "s": 74.011,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.19041,
    "h": 285.6
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#7865E8
secondary
#E4EABE
accent
#D60FB9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7865E8

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

Preview Lab → · Contrast checker → · Palette generator →

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