#7875FB#7875FB

#7875FB is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.3% C 0.194 H 280.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7875FB
RGBrgb(120, 117, 251)
HSLhsl(241, 94%, 72%)
HSVhsv(241, 53%, 98%)
CMYKcmyk(52.2%, 53.4%, 0%, 1.6%)
CIE-LABlab(55.76, 36.74, -66.81)
CIE-LCHlch(55.76, 76.25, 298.80°)
OKLaboklab(63.34% 0.0347 -0.191)
OKLCHoklch(63.34% 0.194 280.3)
XYZxyz(31.5142, 23.6788, 94.1579)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875FB #F8FB75
analogous
#75B5FB #7875FB #BB75FB
triadic
#7875FB #FB7875 #75FB78
tetradic
#7875FB #FB75B5 #F8FB75 #75FBBB
square
#7875FB #FB75B5 #F8FB75 #75FBBB
split-complementary
#7875FB #FBBB75 #B5FB75
monochromatic
#0C07EF #3E3AF9 #7875FB #B2B0FD #E2E1FE

Accessibility & contrast

On white

3.66
#7875FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7875FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875FB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875FB#FFFFFF#000000##000000
##7875FB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#0781F8
Tritanopia (blue-blind)
#3F93AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7875fb;
/* rgb */ color: rgb(120, 117, 251);
/* oklch */ color: oklch(63.3% 0.194 280.3);
Tailwind
colors: {
  custom: {
    50: '#a89dfd',
    500: '#7875fb',
    950: '#000000',
  },
}
SCSS
$custom: #7875fb;
$custom-light: #a89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7875fb",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 251
  },
  "hsl": {
    "h": 241.343,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63338,
    "c": 0.19414,
    "h": 280.3
  },
  "luminance": 0.23681
}

Semantic roles & 50–950 ramp

primary
#7875FB
secondary
#F6F6D5
accent
#E600E0
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7875FB

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

Preview Lab → · Contrast checker → · Palette generator →

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