#7868F5#7868F5

#7868F5 is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.7% C 0.203 H 283.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7868F5
RGBrgb(120, 104, 245)
HSLhsl(247, 88%, 68%)
HSVhsv(247, 58%, 96%)
CMYKcmyk(51%, 57.6%, 0%, 3.9%)
CIE-LABlab(52.38, 42.53, -68.95)
CIE-LCHlch(52.38, 81.01, 301.67°)
OKLaboklab(60.7% 0.0481 -0.1974)
OKLCHoklch(60.7% 0.203 283.7)
XYZxyz(29.1725, 20.4847, 88.7853)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868F5 #E5F568
analogous
#689EF5 #7868F5 #BF68F5
triadic
#7868F5 #F57868 #68F578
tetradic
#7868F5 #F5689E #E5F568 #68F5BF
square
#7868F5 #F5689E #E5F568 #68F5BF
split-complementary
#7868F5 #F5BF68 #9EF568
monochromatic
#250ED5 #452FF1 #7868F5 #ABA1F9 #DFDBFD

Accessibility & contrast

On white

4.12
#7868F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7868F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868F5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868F5#FFFFFF#000000##000000
##7868F51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#4689A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7868f5;
/* rgb */ color: rgb(120, 104, 245);
/* oklch */ color: oklch(60.7% 0.203 283.7);
Tailwind
colors: {
  custom: {
    50: '#a894f9',
    500: '#7868f5',
    950: '#000000',
  },
}
SCSS
$custom: #7868f5;
$custom-light: #a894f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7868f5",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 246.809,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.20315,
    "h": 283.7
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#7868F5
secondary
#EDF2C7
accent
#E401CA
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7868F5

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

Preview Lab → · Contrast checker → · Palette generator →

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