#7867F7#7867F7

#7867F7 is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.7% C 0.207 H 283.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7867F7
RGBrgb(120, 103, 247)
HSLhsl(247, 90%, 69%)
HSVhsv(247, 58%, 97%)
CMYKcmyk(51.4%, 58.3%, 0%, 3.1%)
CIE-LABlab(52.29, 43.69, -70.20)
CIE-LCHlch(52.29, 82.69, 301.90°)
OKLaboklab(60.68% 0.0491 -0.2011)
OKLCHoklch(60.68% 0.207 283.7)
XYZxyz(29.3794, 20.4074, 90.3686)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867F7 #E6F767
analogous
#679EF7 #7867F7 #C067F7
triadic
#7867F7 #F77867 #67F778
tetradic
#7867F7 #F7679E #E6F767 #67F7C0
square
#7867F7 #F7679E #E6F767 #67F7C0
split-complementary
#7867F7 #F7C067 #9EF767
monochromatic
#240BD8 #442DF4 #7867F7 #ACA1FA #DFDBFD

Accessibility & contrast

On white

4.13
#7867F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7867F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867F7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867F7#FFFFFF#000000##000000
##7867F71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#4589A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7867f7;
/* rgb */ color: rgb(120, 103, 247);
/* oklch */ color: oklch(60.7% 0.207 283.7);
Tailwind
colors: {
  custom: {
    50: '#a893fb',
    500: '#7867f7',
    950: '#000000',
  },
}
SCSS
$custom: #7867f7;
$custom-light: #a893fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7867f7",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 247
  },
  "hsl": {
    "h": 247.083,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.20697,
    "h": 283.7
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#7867F7
secondary
#EDF2C7
accent
#E600CA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7867F7

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

Preview Lab → · Contrast checker → · Palette generator →

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