#7D70DD#7D70DD

#7D70DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.160 H 286.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7D70DD
RGBrgb(125, 112, 221)
HSLhsl(247, 62%, 65%)
HSVhsv(247, 49%, 87%)
CMYKcmyk(43.4%, 49.3%, 0%, 13.3%)
CIE-LABlab(53.13, 31.91, -54.27)
CIE-LCHlch(53.13, 62.96, 300.45°)
OKLaboklab(60.88% 0.0443 -0.154)
OKLCHoklch(60.88% 0.16 286.1)
XYZxyz(27.2990, 21.1677, 71.0400)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70DD #D0DD70
analogous
#7099DD #7D70DD #B370DD
triadic
#7D70DD #DD7D70 #70DD7D
tetradic
#7D70DD #DD7099 #D0DD70 #70DDB3
square
#7D70DD #DD7099 #D0DD70 #70DDB3
split-complementary
#7D70DD #DDB370 #99DD70
monochromatic
#3828AA #503FD1 #7D70DD #AAA1E9 #D7D3F5

Accessibility & contrast

On white

4.01
#7D70DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7D70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D70DD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D70DD#FFFFFF#000000##000000
##7D70DD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#3F7CDB
Tritanopia (blue-blind)
#60879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d70dd;
/* rgb */ color: rgb(125, 112, 221);
/* oklch */ color: oklch(60.9% 0.160 286.1);
Tailwind
colors: {
  custom: {
    50: '#a899e8',
    500: '#7d70dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d70dd;
$custom-light: #a899e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70dd",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 247.156,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.1603,
    "h": 286.1
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

primary
#7D70DD
secondary
#E2E7C2
accent
#C91CB5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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