#7875CA#7875CA

#7875CA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.127 H 283.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7875CA
RGBrgb(120, 117, 202)
HSLhsl(242, 45%, 63%)
HSVhsv(242, 42%, 79%)
CMYKcmyk(40.6%, 42.1%, 0%, 20.8%)
CIE-LABlab(52.93, 22.25, -43.85)
CIE-LCHlch(52.93, 49.18, 296.91°)
OKLaboklab(60.28% 0.0297 -0.1236)
OKLCHoklch(60.28% 0.127 283.5)
XYZxyz(24.7646, 20.9790, 58.6102)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875CA #C7CA75
analogous
#759CCA #7875CA #A375CA
triadic
#7875CA #CA7875 #75CA78
tetradic
#7875CA #CA759C #C7CA75 #75CAA3
square
#7875CA #CA759C #C7CA75 #75CAA3
split-complementary
#7875CA #CAA375 #9CCA75
monochromatic
#3A378E #4D49B9 #7875CA #A3A1DB #CFCDEC

Accessibility & contrast

On white

4.04
#7875CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7875CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875CA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875CA#FFFFFF#000000##000000
##7875CA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#537CC8
Tritanopia (blue-blind)
#608696
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7875ca;
/* rgb */ color: rgb(120, 117, 202);
/* oklch */ color: oklch(60.3% 0.127 283.5);
Tailwind
colors: {
  custom: {
    50: '#a29cda',
    500: '#7875ca',
    950: '#000000',
  },
}
SCSS
$custom: #7875ca;
$custom-light: #a29cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7875ca",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 242.118,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.12716,
    "h": 283.5
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#7875CA
secondary
#DCDDBE
accent
#B82EB3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7875CA

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

Preview Lab → · Contrast checker → · Palette generator →

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