#7872FD#7872FD

#7872FD is a light, highly saturated blue. Relative luminance 0.231; OKLCH L 63.0% C 0.201 H 280.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7872FD
RGBrgb(120, 114, 253)
HSLhsl(243, 97%, 72%)
HSVhsv(243, 55%, 99%)
CMYKcmyk(52.6%, 54.9%, 0%, 0.8%)
CIE-LABlab(55.19, 39.10, -68.84)
CIE-LCHlch(55.19, 79.17, 299.60°)
OKLaboklab(62.95% 0.0379 -0.197)
OKLCHoklch(62.95% 0.201 280.9)
XYZxyz(31.4872, 23.1177, 95.7124)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7872FD #F7FD72
analogous
#72B2FD #7872FD #BE72FD
triadic
#7872FD #FD7872 #72FD78
tetradic
#7872FD #FD72B2 #F7FD72 #72FDBE
square
#7872FD #FD72B2 #F7FD72 #72FDBE
split-complementary
#7872FD #FDBE72 #B2FD72
monochromatic
#0E03F1 #3E36FC #7872FD #B2AEFE #E2E1FF

Accessibility & contrast

On white

3.73
#7872FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7872FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7872FD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7872FD#FFFFFF#000000##000000
##7872FD1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E89FF
Deuteranopia (green-blind)
#007FFA
Tritanopia (blue-blind)
#3D92AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7872fd;
/* rgb */ color: rgb(120, 114, 253);
/* oklch */ color: oklch(63.0% 0.201 280.9);
Tailwind
colors: {
  custom: {
    50: '#a89bff',
    500: '#7872fd',
    950: '#000000',
  },
}
SCSS
$custom: #7872fd;
$custom-light: #a89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#7872fd",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 242.59,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.62953,
    "c": 0.20061,
    "h": 280.9
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#7872FD
secondary
#F5F7D4
accent
#E600DC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7872FD

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

Preview Lab → · Contrast checker → · Palette generator →

#7872FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva