#7C70CF#7C70CF

#7C70CF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.141 H 287.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7C70CF
RGBrgb(124, 112, 207)
HSLhsl(248, 50%, 63%)
HSVhsv(248, 46%, 81%)
CMYKcmyk(40.1%, 45.9%, 0%, 18.8%)
CIE-LABlab(52.26, 27.68, -47.74)
CIE-LCHlch(52.26, 55.18, 300.11°)
OKLaboklab(59.95% 0.0416 -0.1349)
OKLCHoklch(59.95% 0.141 287.1)
XYZxyz(25.3657, 20.3776, 61.6162)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C70CF #C3CF70
analogous
#7093CF #7C70CF #AB70CF
triadic
#7C70CF #CF7C70 #70CF7C
tetradic
#7C70CF #CF7093 #C3CF70 #70CFAB
square
#7C70CF #CF7093 #C3CF70 #70CFAB
split-complementary
#7C70CF #CFAB70 #93CF70
monochromatic
#3E3193 #5242C0 #7C70CF #A69EDE #D0CCEE

Accessibility & contrast

On white

4.14
#7C70CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7C70CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C70CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C70CF#FFFFFF#000000##000000
##7C70CF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#658395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c70cf;
/* rgb */ color: rgb(124, 112, 207);
/* oklch */ color: oklch(59.9% 0.141 287.1);
Tailwind
colors: {
  custom: {
    50: '#a699de',
    500: '#7c70cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c70cf;
$custom-light: #a699de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c70cf",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 247.579,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.14118,
    "h": 287.1
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#7C70CF
secondary
#DADFBC
accent
#BD28AA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7C70CF

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

Preview Lab → · Contrast checker → · Palette generator →

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