#7E70CD#7E70CD

#7E70CD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.138 H 288.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E70CD
RGBrgb(126, 112, 205)
HSLhsl(249, 48%, 62%)
HSVhsv(249, 45%, 80%)
CMYKcmyk(38.5%, 45.4%, 0%, 19.6%)
CIE-LABlab(52.32, 27.63, -46.49)
CIE-LCHlch(52.32, 54.08, 300.73°)
OKLaboklab(60% 0.0437 -0.1312)
OKLCHoklch(60% 0.138 288.4)
XYZxyz(25.4148, 20.4310, 60.3503)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70CD #BFCD70
analogous
#7091CD #7E70CD #AD70CD
triadic
#7E70CD #CD7E70 #70CD7E
tetradic
#7E70CD #CD7091 #BFCD70 #70CDAD
square
#7E70CD #CD7091 #BFCD70 #70CDAD
split-complementary
#7E70CD #CDAD70 #91CD70
monochromatic
#413290 #5543BD #7E70CD #A79DDD #D0CBED

Accessibility & contrast

On white

4.13
#7E70CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7E70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70CD#FFFFFF#000000##000000
##7E70CD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#4E7BCB
Tritanopia (blue-blind)
#698295
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e70cd;
/* rgb */ color: rgb(126, 112, 205);
/* oklch */ color: oklch(60.0% 0.138 288.4);
Tailwind
colors: {
  custom: {
    50: '#a799dd',
    500: '#7e70cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e70cd;
$custom-light: #a799dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70cd",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 249.032,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.13831,
    "h": 288.4
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#7E70CD
secondary
#D8DDBB
accent
#BB2AA6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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