#7970BC#7970BC

#7970BC is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.6% C 0.115 H 287.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7970BC
RGBrgb(121, 112, 188)
HSLhsl(247, 36%, 59%)
HSVhsv(247, 40%, 74%)
CMYKcmyk(35.6%, 40.4%, 0%, 26.3%)
CIE-LABlab(51.02, 21.60, -38.85)
CIE-LCHlch(51.02, 44.45, 299.07°)
OKLaboklab(58.62% 0.0349 -0.109)
OKLCHoklch(58.62% 0.115 287.8)
XYZxyz(22.7540, 19.2835, 50.0904)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970BC #B3BC70
analogous
#708DBC #7970BC #9F70BC
triadic
#7970BC #BC7970 #70BC79
tetradic
#7970BC #BC708D #B3BC70 #70BC9F
square
#7970BC #BC708D #B3BC70 #70BC9F
split-complementary
#7970BC #BC9F70 #8DBC70
monochromatic
#403979 #564CA3 #7970BC #A09AD0 #C7C3E3

Accessibility & contrast

On white

4.32
#7970BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7970BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970BC#FFFFFF#000000##000000
##7970BC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBF
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#687E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7970bc;
/* rgb */ color: rgb(121, 112, 188);
/* oklch */ color: oklch(58.6% 0.115 287.8);
Tailwind
colors: {
  custom: {
    50: '#a299d0',
    500: '#7970bc',
    950: '#000000',
  },
}
SCSS
$custom: #7970bc;
$custom-light: #a299d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7970bc",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 247.105,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.1145,
    "h": 287.8
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#7970BC
secondary
#CFD3B5
accent
#CC5CBF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7970BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7970BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva