#7872FF#7872FF

#7872FF is a light, highly saturated blue. Relative luminance 0.232; OKLCH L 63.1% C 0.203 H 280.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7872FF
RGBrgb(120, 114, 255)
HSLhsl(243, 100%, 72%)
HSVhsv(243, 55%, 100%)
CMYKcmyk(52.9%, 55.3%, 0%, 0%)
CIE-LABlab(55.32, 39.70, -69.73)
CIE-LCHlch(55.32, 80.24, 299.66°)
OKLaboklab(63.09% 0.0379 -0.1996)
OKLCHoklch(63.09% 0.203 280.8)
XYZxyz(31.8074, 23.2458, 97.3992)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7872FF #F9FF72
analogous
#72B3FF #7872FF #BE72FF
triadic
#7872FF #FF7872 #72FF78
tetradic
#7872FF #FF72B3 #F9FF72 #72FFBE
square
#7872FF #FF72B3 #F9FF72 #72FFBE
split-complementary
#7872FF #FFBE72 #B3FF72
monochromatic
#0A00F7 #3D35FF #7872FF #B3AFFF #E2E0FF

Accessibility & contrast

On white

3.72
#7872FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7872FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7872FF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7872FF#FFFFFF#000000##000000
##7872FF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#038AFF
Deuteranopia (green-blind)
#007FFC
Tritanopia (blue-blind)
#3B92AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7872ff;
/* rgb */ color: rgb(120, 114, 255);
/* oklch */ color: oklch(63.1% 0.203 280.8);
Tailwind
colors: {
  custom: {
    50: '#a99bff',
    500: '#7872ff',
    950: '#000000',
  },
}
SCSS
$custom: #7872ff;
$custom-light: #a99bff;
$custom-dark: #000000;
JSON
{
  "hex": "#7872ff",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 242.553,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.2032,
    "h": 280.8
  },
  "luminance": 0.23248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7872FF

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

Preview Lab → · Contrast checker → · Palette generator →

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