#7E70CA#7E70CA

#7E70CA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.134 H 288.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E70CA
RGBrgb(126, 112, 202)
HSLhsl(249, 46%, 62%)
HSVhsv(249, 45%, 79%)
CMYKcmyk(37.6%, 44.6%, 0%, 20.8%)
CIE-LABlab(52.16, 26.80, -45.04)
CIE-LCHlch(52.16, 52.41, 300.76°)
OKLaboklab(59.83% 0.0433 -0.127)
OKLCHoklch(59.83% 0.134 288.8)
XYZxyz(25.0561, 20.2875, 58.4614)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70CA #BCCA70
analogous
#708FCA #7E70CA #AB70CA
triadic
#7E70CA #CA7E70 #70CA7E
tetradic
#7E70CA #CA708F #BCCA70 #70CAAB
square
#7E70CA #CA708F #BCCA70 #70CAAB
split-complementary
#7E70CA #CAAB70 #8FCA70
monochromatic
#41348C #5644B8 #7E70CA #A69DDB #CFC9EB

Accessibility & contrast

On white

4.15
#7E70CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7E70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70CA#FFFFFF#000000##000000
##7E70CA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECD
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#6A8293
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e70ca;
/* rgb */ color: rgb(126, 112, 202);
/* oklch */ color: oklch(59.8% 0.134 288.8);
Tailwind
colors: {
  custom: {
    50: '#a799da',
    500: '#7e70ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e70ca;
$custom-light: #a799da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70ca",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 249.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.13415,
    "h": 288.8
  },
  "luminance": 0.20288
}

Semantic roles & 50–950 ramp

primary
#7E70CA
secondary
#D6DCBA
accent
#B92CA3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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