#7867EB#7867EB

#7867EB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.8% C 0.192 H 284.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7867EB
RGBrgb(120, 103, 235)
HSLhsl(248, 77%, 66%)
HSVhsv(248, 56%, 92%)
CMYKcmyk(48.9%, 56.2%, 0%, 7.8%)
CIE-LABlab(51.49, 40.16, -64.81)
CIE-LCHlch(51.49, 76.25, 301.79°)
OKLaboklab(59.83% 0.0492 -0.1852)
OKLCHoklch(59.83% 0.192 284.9)
XYZxyz(27.5869, 19.6904, 80.9282)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867EB #DAEB67
analogous
#6798EB #7867EB #BA67EB
triadic
#7867EB #EB7867 #67EB78
tetradic
#7867EB #EB6798 #DAEB67 #67EBBA
square
#7867EB #EB6798 #DAEB67 #67EBBA
split-complementary
#7867EB #EBBA67 #98EB67
monochromatic
#2E19BF #4831E4 #7867EB #A89DF2 #D8D3F9

Accessibility & contrast

On white

4.25
#7867EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7867EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867EB#FFFFFF#000000##000000
##7867EB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#047FEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#4E859F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7867eb;
/* rgb */ color: rgb(120, 103, 235);
/* oklch */ color: oklch(59.8% 0.192 284.9);
Tailwind
colors: {
  custom: {
    50: '#a793f2',
    500: '#7867eb',
    950: '#000000',
  },
}
SCSS
$custom: #7867eb;
$custom-light: #a793f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7867eb",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 247.727,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.19163,
    "h": 284.9
  },
  "luminance": 0.19692
}

Semantic roles & 50–950 ramp

primary
#7867EB
secondary
#E7ECC1
accent
#D90DBF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7867EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7867EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva