#7865DF#7865DF

#7865DF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.7% C 0.179 H 286.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7865DF
RGBrgb(120, 101, 223)
HSLhsl(249, 66%, 64%)
HSVhsv(249, 55%, 87%)
CMYKcmyk(46.2%, 54.7%, 0%, 12.5%)
CIE-LABlab(50.25, 37.83, -60.05)
CIE-LCHlch(50.25, 70.98, 302.21°)
OKLaboklab(58.66% 0.0513 -0.1712)
OKLCHoklch(58.66% 0.179 286.7)
XYZxyz(25.7148, 18.6270, 72.0382)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865DF #CCDF65
analogous
#658FDF #7865DF #B565DF
triadic
#7865DF #DF7865 #65DF78
tetradic
#7865DF #DF658F #CCDF65 #65DFB5
square
#7865DF #DF658F #CCDF65 #65DFB5
split-complementary
#7865DF #DFB565 #8FDF65
monochromatic
#3723A7 #4C32D4 #7865DF #A498EA #D1CAF4

Accessibility & contrast

On white

4.44
#7865DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7865DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865DF#FFFFFF#000000##000000
##7865DF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#568098
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7865df;
/* rgb */ color: rgb(120, 101, 223);
/* oklch */ color: oklch(58.7% 0.179 286.7);
Tailwind
colors: {
  custom: {
    50: '#a591ea',
    500: '#7865df',
    950: '#000000',
  },
}
SCSS
$custom: #7865df;
$custom-light: #a591ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7865df",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 249.344,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.17873,
    "h": 286.7
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#7865DF
secondary
#DFE6BA
accent
#CD18B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7865DF

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

Preview Lab → · Contrast checker → · Palette generator →

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