#7875EA#7875EA

#7875EA is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.2% C 0.172 H 281.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7875EA
RGBrgb(120, 117, 234)
HSLhsl(242, 74%, 69%)
HSVhsv(242, 50%, 92%)
CMYKcmyk(48.7%, 50%, 0%, 8.2%)
CIE-LABlab(54.71, 31.62, -59.05)
CIE-LCHlch(54.71, 66.99, 298.17°)
OKLaboklab(62.22% 0.0337 -0.1682)
OKLCHoklch(62.22% 0.172 281.3)
XYZxyz(28.9538, 22.6546, 80.6731)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875EA #E7EA75
analogous
#75ADEA #7875EA #B375EA
triadic
#7875EA #EA7875 #75EA78
tetradic
#7875EA #EA75AD #E7EA75 #75EAB3
square
#7875EA #EA75AD #E7EA75 #75EAB3
split-complementary
#7875EA #EAB375 #ADEA75
monochromatic
#231EC6 #4440E2 #7875EA #ACAAF2 #E0DFFA

Accessibility & contrast

On white

3.80
#7875EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7875EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875EA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875EA#FFFFFF#000000##000000
##7875EA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#347FE7
Tritanopia (blue-blind)
#4D8EA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7875ea;
/* rgb */ color: rgb(120, 117, 234);
/* oklch */ color: oklch(62.2% 0.172 281.3);
Tailwind
colors: {
  custom: {
    50: '#a69cf1',
    500: '#7875ea',
    950: '#000000',
  },
}
SCSS
$custom: #7875ea;
$custom-light: #a69cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7875ea",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 241.538,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62215,
    "c": 0.17155,
    "h": 281.3
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#7875EA
secondary
#EEEFCC
accent
#D610D1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7875EA

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

Preview Lab → · Contrast checker → · Palette generator →

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