#7867E8#7867E8

#7867E8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.6% C 0.188 H 285.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7867E8
RGBrgb(120, 103, 232)
HSLhsl(248, 74%, 66%)
HSVhsv(248, 56%, 91%)
CMYKcmyk(48.3%, 55.6%, 0%, 9%)
CIE-LABlab(51.29, 39.28, -63.45)
CIE-LCHlch(51.29, 74.62, 301.76°)
OKLaboklab(59.62% 0.0492 -0.1812)
OKLCHoklch(59.62% 0.188 285.2)
XYZxyz(27.1572, 19.5185, 78.6648)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867E8 #D7E867
analogous
#6796E8 #7867E8 #B867E8
triadic
#7867E8 #E87867 #67E878
tetradic
#7867E8 #E86796 #D7E867 #67E8B8
square
#7867E8 #E86796 #D7E867 #67E8B8
split-complementary
#7867E8 #E8B867 #96E867
monochromatic
#311CB9 #4932E0 #7867E8 #A79CF0 #D6D1F8

Accessibility & contrast

On white

4.28
#7867E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7867E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867E8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867E8#FFFFFF#000000##000000
##7867E81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#127EEC
Deuteranopia (green-blind)
#0676E5
Tritanopia (blue-blind)
#50849E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7867e8;
/* rgb */ color: rgb(120, 103, 232);
/* oklch */ color: oklch(59.6% 0.188 285.2);
Tailwind
colors: {
  custom: {
    50: '#a693f0',
    500: '#7867e8',
    950: '#000000',
  },
}
SCSS
$custom: #7867e8;
$custom-light: #a693f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7867e8",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 247.907,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.18776,
    "h": 285.2
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#7867E8
secondary
#E5EBC0
accent
#D610BC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7867E8

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

Preview Lab → · Contrast checker → · Palette generator →

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