#7868F7#7868F7

#7868F7 is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.8% C 0.206 H 283.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7868F7
RGBrgb(120, 104, 247)
HSLhsl(247, 90%, 69%)
HSVhsv(247, 58%, 97%)
CMYKcmyk(51.4%, 57.9%, 0%, 3.1%)
CIE-LABlab(52.52, 43.12, -69.84)
CIE-LCHlch(52.52, 82.08, 301.69°)
OKLaboklab(60.85% 0.048 -0.2)
OKLCHoklch(60.85% 0.206 283.5)
XYZxyz(29.4795, 20.6075, 90.4019)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868F7 #E7F768
analogous
#68A0F7 #7868F7 #C068F7
triadic
#7868F7 #F77868 #68F778
tetradic
#7868F7 #F768A0 #E7F768 #68F7C0
square
#7868F7 #F768A0 #E7F768 #68F7C0
split-complementary
#7868F7 #F7C068 #A0F768
monochromatic
#230CD9 #442EF4 #7868F7 #ACA2FA #E0DCFD

Accessibility & contrast

On white

4.10
#7868F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7868F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868F7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868F7#FFFFFF#000000##000000
##7868F71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#4589A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7868f7;
/* rgb */ color: rgb(120, 104, 247);
/* oklch */ color: oklch(60.8% 0.206 283.5);
Tailwind
colors: {
  custom: {
    50: '#a894fb',
    500: '#7868f7',
    950: '#000000',
  },
}
SCSS
$custom: #7868f7;
$custom-light: #a894fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7868f7",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 246.713,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.2057,
    "h": 283.5
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#7868F7
secondary
#EEF3C8
accent
#E600CC
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7868F7

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

Preview Lab → · Contrast checker → · Palette generator →

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