#7875EC#7875EC

#7875EC is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.3% C 0.174 H 281.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7875EC
RGBrgb(120, 117, 236)
HSLhsl(242, 76%, 69%)
HSVhsv(242, 50%, 93%)
CMYKcmyk(49.2%, 50.4%, 0%, 7.5%)
CIE-LABlab(54.83, 32.22, -59.98)
CIE-LCHlch(54.83, 68.08, 298.25°)
OKLaboklab(62.34% 0.0339 -0.1709)
OKLCHoklch(62.34% 0.174 281.2)
XYZxyz(29.2427, 22.7702, 82.1948)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875EC #E9EC75
analogous
#75AEEC #7875EC #B475EC
triadic
#7875EC #EC7875 #75EC78
tetradic
#7875EC #EC75AE #E9EC75 #75ECB4
square
#7875EC #EC75AE #E9EC75 #75ECB4
split-complementary
#7875EC #ECB475 #AEEC75
monochromatic
#201CCB #433FE5 #7875EC #ADABF3 #E1E1FB

Accessibility & contrast

On white

3.78
#7875EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7875EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875EC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875EC#FFFFFF#000000##000000
##7875EC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#4C8FA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7875ec;
/* rgb */ color: rgb(120, 117, 236);
/* oklch */ color: oklch(62.3% 0.174 281.2);
Tailwind
colors: {
  custom: {
    50: '#a69cf3',
    500: '#7875ec',
    950: '#000000',
  },
}
SCSS
$custom: #7875ec;
$custom-light: #a69cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7875ec",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 241.513,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62344,
    "c": 0.17425,
    "h": 281.2
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#7875EC
secondary
#EFF0CD
accent
#D80ED3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7875EC

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

Preview Lab → · Contrast checker → · Palette generator →

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