#7864EA#7864EA

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

Color values

HEX#7864EA
RGBrgb(120, 100, 234)
HSLhsl(249, 76%, 65%)
HSVhsv(249, 57%, 92%)
CMYKcmyk(48.7%, 57.3%, 0%, 8.2%)
CIE-LABlab(50.74, 41.61, -65.45)
CIE-LCHlch(50.74, 77.56, 302.45°)
OKLaboklab(59.26% 0.0524 -0.1871)
OKLCHoklch(59.26% 0.194 285.6)
XYZxyz(27.1498, 19.0466, 80.0718)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864EA #D6EA64
analogous
#6493EA #7864EA #BB64EA
triadic
#7864EA #EA7864 #64EA78
tetradic
#7864EA #EA6493 #D6EA64 #64EABB
square
#7864EA #EA6493 #D6EA64 #64EABB
split-complementary
#7864EA #EABB64 #93EA64
monochromatic
#3119BA #492EE3 #7864EA #A79AF1 #D6D0F9

Accessibility & contrast

On white

4.37
#7864EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7864EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864EA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864EA#FFFFFF#000000##000000
##7864EA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7864ea;
/* rgb */ color: rgb(120, 100, 234);
/* oklch */ color: oklch(59.3% 0.194 285.6);
Tailwind
colors: {
  custom: {
    50: '#a791f2',
    500: '#7864ea',
    950: '#000000',
  },
}
SCSS
$custom: #7864ea;
$custom-light: #a791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7864ea",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 248.955,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.19431,
    "h": 285.6
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#7864EA
secondary
#E5EBBE
accent
#D80DBA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #7864EA

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

Preview Lab → · Contrast checker → · Palette generator →

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