#7865ED#7865ED

#7865ED is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.6% C 0.197 H 285.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7865ED
RGBrgb(120, 101, 237)
HSLhsl(248, 79%, 66%)
HSVhsv(248, 57%, 93%)
CMYKcmyk(49.4%, 57.4%, 0%, 7.1%)
CIE-LABlab(51.17, 41.91, -66.45)
CIE-LCHlch(51.17, 78.56, 302.24°)
OKLaboklab(59.64% 0.0513 -0.19)
OKLCHoklch(59.64% 0.197 285.1)
XYZxyz(27.6809, 19.4135, 82.3930)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865ED #DAED65
analogous
#6596ED #7865ED #BC65ED
triadic
#7865ED #ED7865 #65ED78
tetradic
#7865ED #ED6596 #DAED65 #65EDBC
square
#7865ED #ED6596 #DAED65 #65EDBC
split-complementary
#7865ED #EDBC65 #96ED65
monochromatic
#2E17C1 #482EE7 #7865ED #A89CF3 #D8D3FA

Accessibility & contrast

On white

4.30
#7865ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7865ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865ED
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865ED#FFFFFF#000000##000000
##7865ED1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#4D849F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7865ed;
/* rgb */ color: rgb(120, 101, 237);
/* oklch */ color: oklch(59.6% 0.197 285.1);
Tailwind
colors: {
  custom: {
    50: '#a791f4',
    500: '#7865ed',
    950: '#000000',
  },
}
SCSS
$custom: #7865ed;
$custom-light: #a791f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7865ed",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 237
  },
  "hsl": {
    "h": 248.382,
    "s": 79.07,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59636,
    "c": 0.19684,
    "h": 285.1
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#7865ED
secondary
#E7EDC1
accent
#DB0ABE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7865ED

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

Preview Lab → · Contrast checker → · Palette generator →

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