#7875DC#7875DC

#7875DC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.152 H 282.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7875DC
RGBrgb(120, 117, 220)
HSLhsl(242, 60%, 66%)
HSVhsv(242, 47%, 86%)
CMYKcmyk(45.5%, 46.8%, 0%, 13.7%)
CIE-LABlab(53.90, 27.47, -52.50)
CIE-LCHlch(53.90, 59.25, 297.62°)
OKLaboklab(61.34% 0.0323 -0.149)
OKLCHoklch(61.34% 0.152 282.2)
XYZxyz(27.0214, 21.8817, 70.4961)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875DC #D9DC75
analogous
#75A5DC #7875DC #AB75DC
triadic
#7875DC #DC7875 #75DC78
tetradic
#7875DC #DC75A5 #D9DC75 #75DCAB
square
#7875DC #DC75A5 #D9DC75 #75DCAB
split-complementary
#7875DC #DCAB75 #A5DC75
monochromatic
#2F2BAB #4844D0 #7875DC #A8A6E8 #D8D7F5

Accessibility & contrast

On white

3.91
#7875DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7875DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875DC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875DC#FFFFFF#000000##000000
##7875DC1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#457DDA
Tritanopia (blue-blind)
#578B9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7875dc;
/* rgb */ color: rgb(120, 117, 220);
/* oklch */ color: oklch(61.3% 0.152 282.2);
Tailwind
colors: {
  custom: {
    50: '#a49ce7',
    500: '#7875dc',
    950: '#000000',
  },
}
SCSS
$custom: #7875dc;
$custom-light: #a49ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7875dc",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 241.748,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6134,
    "c": 0.15243,
    "h": 282.2
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#7875DC
secondary
#E6E7C5
accent
#C71EC2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7875DC

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

Preview Lab → · Contrast checker → · Palette generator →

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