#7868FA#7868FA

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

Color values

HEX#7868FA
RGBrgb(120, 104, 250)
HSLhsl(247, 94%, 69%)
HSVhsv(247, 58%, 98%)
CMYKcmyk(52%, 58.4%, 0%, 2%)
CIE-LABlab(52.72, 44.01, -71.18)
CIE-LCHlch(52.72, 83.68, 301.73°)
OKLaboklab(61.06% 0.048 -0.2039)
OKLCHoklch(61.06% 0.21 283.2)
XYZxyz(29.9461, 20.7941, 92.8597)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868FA #EAFA68
analogous
#68A1FA #7868FA #C168FA
triadic
#7868FA #FA7868 #68FA78
tetradic
#7868FA #FA68A1 #EAFA68 #68FAC1
square
#7868FA #FA68A1 #EAFA68 #68FAC1
split-complementary
#7868FA #FAC168 #A1FA68
monochromatic
#1F07E0 #432DF8 #7868FA #ADA3FC #E2DEFE

Accessibility & contrast

On white

4.07
#7868FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7868FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868FA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868FA#FFFFFF#000000##000000
##7868FA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#428AA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7868fa;
/* rgb */ color: rgb(120, 104, 250);
/* oklch */ color: oklch(61.1% 0.209 283.2);
Tailwind
colors: {
  custom: {
    50: '#a894fd',
    500: '#7868fa',
    950: '#000000',
  },
}
SCSS
$custom: #7868fa;
$custom-light: #a894fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7868fa",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 246.575,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.2095,
    "h": 283.2
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#7868FA
secondary
#EFF4CA
accent
#E600CC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7868FA

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

Preview Lab → · Contrast checker → · Palette generator →

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