#7867EA#7867EA

#7867EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.8% C 0.190 H 285.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7867EA
RGBrgb(120, 103, 234)
HSLhsl(248, 76%, 66%)
HSVhsv(248, 56%, 92%)
CMYKcmyk(48.7%, 56%, 0%, 8.2%)
CIE-LABlab(51.42, 39.87, -64.36)
CIE-LCHlch(51.42, 75.71, 301.78°)
OKLaboklab(59.76% 0.0492 -0.1839)
OKLCHoklch(59.76% 0.19 285)
XYZxyz(27.4429, 19.6327, 80.1694)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867EA #D9EA67
analogous
#6797EA #7867EA #B967EA
triadic
#7867EA #EA7867 #67EA78
tetradic
#7867EA #EA6797 #D9EA67 #67EAB9
square
#7867EA #EA6797 #D9EA67 #67EAB9
split-complementary
#7867EA #EAB967 #97EA67
monochromatic
#2F1ABD #4831E3 #7867EA #A89DF1 #D8D3F9

Accessibility & contrast

On white

4.26
#7867EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7867EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867EA#FFFFFF#000000##000000
##7867EA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#097EEE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#4F859F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7867ea;
/* rgb */ color: rgb(120, 103, 234);
/* oklch */ color: oklch(59.8% 0.190 285.0);
Tailwind
colors: {
  custom: {
    50: '#a693f1',
    500: '#7867ea',
    950: '#000000',
  },
}
SCSS
$custom: #7867ea;
$custom-light: #a693f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7867ea",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 234
  },
  "hsl": {
    "h": 247.786,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.19035,
    "h": 285
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#7867EA
secondary
#E6ECC1
accent
#D80EBE
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7867EA

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

Preview Lab → · Contrast checker → · Palette generator →

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