#7875CD#7875CD

#7875CD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.131 H 283.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7875CD
RGBrgb(120, 117, 205)
HSLhsl(242, 47%, 63%)
HSVhsv(242, 43%, 80%)
CMYKcmyk(41.5%, 42.9%, 0%, 19.6%)
CIE-LABlab(53.08, 23.11, -45.31)
CIE-LCHlch(53.08, 50.87, 297.02°)
OKLaboklab(60.46% 0.0302 -0.1279)
OKLCHoklch(60.46% 0.131 283.3)
XYZxyz(25.1233, 21.1224, 60.4991)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875CD #CACD75
analogous
#759ECD #7875CD #A475CD
triadic
#7875CD #CD7875 #75CD78
tetradic
#7875CD #CD759E #CACD75 #75CDA4
square
#7875CD #CD759E #CACD75 #75CDA4
split-complementary
#7875CD #CDA475 #9ECD75
monochromatic
#383593 #4C48BD #7875CD #A4A2DD #D0CFEE

Accessibility & contrast

On white

4.02
#7875CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7875CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875CD#FFFFFF#000000##000000
##7875CD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#5E8797
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7875cd;
/* rgb */ color: rgb(120, 117, 205);
/* oklch */ color: oklch(60.5% 0.131 283.3);
Tailwind
colors: {
  custom: {
    50: '#a39cdd',
    500: '#7875cd',
    950: '#000000',
  },
}
SCSS
$custom: #7875cd;
$custom-light: #a39cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7875cd",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 242.045,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.13143,
    "h": 283.3
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#7875CD
secondary
#DEDFBF
accent
#BA2BB5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7875CD

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

Preview Lab → · Contrast checker → · Palette generator →

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