#7875EF#7875EF

#7875EF is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.5% C 0.178 H 281.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7875EF
RGBrgb(120, 117, 239)
HSLhsl(241, 79%, 70%)
HSVhsv(241, 51%, 94%)
CMYKcmyk(49.8%, 51%, 0%, 6.3%)
CIE-LABlab(55.02, 33.12, -61.36)
CIE-LCHlch(55.02, 69.73, 298.36°)
OKLaboklab(62.54% 0.0341 -0.175)
OKLCHoklch(62.54% 0.178 281)
XYZxyz(29.6822, 22.9460, 84.5096)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875EF #ECEF75
analogous
#75AFEF #7875EF #B575EF
triadic
#7875EF #EF7875 #75EF78
tetradic
#7875EF #EF75AF #ECEF75 #75EFB5
square
#7875EF #EF75AF #ECEF75 #75EFB5
split-complementary
#7875EF #EFB575 #AFEF75
monochromatic
#1D18D1 #423EE9 #7875EF #AEACF5 #E3E3FC

Accessibility & contrast

On white

3.76
#7875EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7875EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875EF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875EF#FFFFFF#000000##000000
##7875EF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#4A90A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7875ef;
/* rgb */ color: rgb(120, 117, 239);
/* oklch */ color: oklch(62.5% 0.178 281.0);
Tailwind
colors: {
  custom: {
    50: '#a69cf5',
    500: '#7875ef',
    950: '#000000',
  },
}
SCSS
$custom: #7875ef;
$custom-light: #a69cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7875ef",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 241.475,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62539,
    "c": 0.17826,
    "h": 281
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#7875EF
secondary
#F0F1CF
accent
#DC0AD6
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7875EF

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

Preview Lab → · Contrast checker → · Palette generator →

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