#7868FB#7868FB

#7868FB is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.1% C 0.211 H 283.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7868FB
RGBrgb(120, 104, 251)
HSLhsl(247, 95%, 70%)
HSVhsv(247, 59%, 98%)
CMYKcmyk(52.2%, 58.6%, 0%, 1.6%)
CIE-LABlab(52.79, 44.30, -71.62)
CIE-LCHlch(52.79, 84.21, 301.74°)
OKLaboklab(61.14% 0.0479 -0.2052)
OKLCHoklch(61.14% 0.211 283.1)
XYZxyz(30.1033, 20.8570, 93.6877)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868FB #EBFB68
analogous
#68A1FB #7868FB #C268FB
triadic
#7868FB #FB7868 #68FB78
tetradic
#7868FB #FB68A1 #EBFB68 #68FBC2
square
#7868FB #FB68A1 #EBFB68 #68FBC2
split-complementary
#7868FB #FBC268 #A1FB68
monochromatic
#1E06E3 #432CF9 #7868FB #ADA4FD #E3DFFE

Accessibility & contrast

On white

4.06
#7868FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7868FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868FB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868FB#FFFFFF#000000##000000
##7868FB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#418BA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7868fb;
/* rgb */ color: rgb(120, 104, 251);
/* oklch */ color: oklch(61.1% 0.211 283.1);
Tailwind
colors: {
  custom: {
    50: '#a994fe',
    500: '#7868fb',
    950: '#000000',
  },
}
SCSS
$custom: #7868fb;
$custom-light: #a994fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7868fb",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 246.531,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61135,
    "c": 0.21075,
    "h": 283.1
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

primary
#7868FB
secondary
#F0F4CA
accent
#E600CD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7868FB

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

Preview Lab → · Contrast checker → · Palette generator →

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