#7C70DC#7C70DC

#7C70DC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.7% C 0.159 H 285.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7C70DC
RGBrgb(124, 112, 220)
HSLhsl(247, 61%, 65%)
HSVhsv(247, 49%, 86%)
CMYKcmyk(43.6%, 49.1%, 0%, 13.7%)
CIE-LABlab(52.99, 31.39, -53.93)
CIE-LCHlch(52.99, 62.40, 300.20°)
OKLaboklab(60.73% 0.043 -0.1531)
OKLCHoklch(60.73% 0.159 285.7)
XYZxyz(27.0209, 21.0396, 70.3336)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C70DC #D0DC70
analogous
#709ADC #7C70DC #B270DC
triadic
#7C70DC #DC7C70 #70DC7C
tetradic
#7C70DC #DC709A #D0DC70 #70DCB2
square
#7C70DC #DC709A #D0DC70 #70DCB2
split-complementary
#7C70DC #DCB270 #9ADC70
monochromatic
#3729A8 #4F3FD0 #7C70DC #A9A1E8 #D6D2F4

Accessibility & contrast

On white

4.03
#7C70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7C70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C70DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C70DC#FFFFFF#000000##000000
##7C70DC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#5E879C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c70dc;
/* rgb */ color: rgb(124, 112, 220);
/* oklch */ color: oklch(60.7% 0.159 285.7);
Tailwind
colors: {
  custom: {
    50: '#a799e7',
    500: '#7c70dc',
    950: '#000000',
  },
}
SCSS
$custom: #7c70dc;
$custom-light: #a799e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c70dc",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 246.667,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.15903,
    "h": 285.7
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#7C70DC
secondary
#E2E6C2
accent
#C81DB5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7C70DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7C70DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva