#7865EA#7865EA

#7865EA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.4% C 0.193 H 285.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7865EA
RGBrgb(120, 101, 234)
HSLhsl(249, 76%, 66%)
HSVhsv(249, 57%, 92%)
CMYKcmyk(48.7%, 56.8%, 0%, 8.2%)
CIE-LABlab(50.97, 41.03, -65.09)
CIE-LCHlch(50.97, 76.94, 302.23°)
OKLaboklab(59.42% 0.0513 -0.186)
OKLCHoklch(59.42% 0.193 285.4)
XYZxyz(27.2463, 19.2396, 80.1039)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865EA #D7EA65
analogous
#6595EA #7865EA #BA65EA
triadic
#7865EA #EA7865 #65EA78
tetradic
#7865EA #EA6595 #D7EA65 #65EABA
square
#7865EA #EA6595 #D7EA65 #65EABA
split-complementary
#7865EA #EABA65 #95EA65
monochromatic
#311ABB #492FE3 #7865EA #A79BF1 #D6D1F9

Accessibility & contrast

On white

4.33
#7865EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7865EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865EA#FFFFFF#000000##000000
##7865EA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#4F839E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7865ea;
/* rgb */ color: rgb(120, 101, 234);
/* oklch */ color: oklch(59.4% 0.193 285.4);
Tailwind
colors: {
  custom: {
    50: '#a791f2',
    500: '#7865ea',
    950: '#000000',
  },
}
SCSS
$custom: #7865ea;
$custom-light: #a791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7865ea",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 248.571,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.19299,
    "h": 285.4
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#7865EA
secondary
#E5ECBF
accent
#D80DBB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7865EA

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

Preview Lab → · Contrast checker → · Palette generator →

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