#7867EF#7867EF

#7867EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 60.1% C 0.197 H 284.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7867EF
RGBrgb(120, 103, 239)
HSLhsl(248, 81%, 67%)
HSVhsv(248, 57%, 94%)
CMYKcmyk(49.8%, 56.9%, 0%, 6.3%)
CIE-LABlab(51.75, 41.34, -66.62)
CIE-LCHlch(51.75, 78.40, 301.82°)
OKLaboklab(60.11% 0.0492 -0.1905)
OKLCHoklch(60.11% 0.197 284.5)
XYZxyz(28.1713, 19.9241, 84.0060)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867EF #DEEF67
analogous
#679AEF #7867EF #BC67EF
triadic
#7867EF #EF7867 #67EF78
tetradic
#7867EF #EF679A #DEEF67 #67EFBC
square
#7867EF #EF679A #DEEF67 #67EFBC
split-complementary
#7867EF #EFBC67 #9AEF67
monochromatic
#2B15C7 #4730E9 #7867EF #A99EF5 #DAD6FB

Accessibility & contrast

On white

4.21
#7867EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7867EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867EF#FFFFFF#000000##000000
##7867EF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#4B86A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7867ef;
/* rgb */ color: rgb(120, 103, 239);
/* oklch */ color: oklch(60.1% 0.197 284.5);
Tailwind
colors: {
  custom: {
    50: '#a793f5',
    500: '#7867ef',
    950: '#000000',
  },
}
SCSS
$custom: #7867ef;
$custom-light: #a793f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7867ef",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 239
  },
  "hsl": {
    "h": 247.5,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.19678,
    "h": 284.5
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#7867EF
secondary
#E9EEC3
accent
#DD08C3
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7867EF

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

Preview Lab → · Contrast checker → · Palette generator →

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