#7D70CD#7D70CD

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

Color values

HEX#7D70CD
RGBrgb(125, 112, 205)
HSLhsl(248, 48%, 62%)
HSVhsv(248, 45%, 80%)
CMYKcmyk(39%, 45.4%, 0%, 19.6%)
CIE-LABlab(52.24, 27.38, -46.63)
CIE-LCHlch(52.24, 54.07, 300.42°)
OKLaboklab(59.91% 0.0425 -0.1317)
OKLCHoklch(59.91% 0.138 287.9)
XYZxyz(25.2680, 20.3553, 60.3434)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70CD #C0CD70
analogous
#7092CD #7D70CD #AC70CD
triadic
#7D70CD #CD7D70 #70CD7D
tetradic
#7D70CD #CD7092 #C0CD70 #70CDAC
square
#7D70CD #CD7092 #C0CD70 #70CDAC
split-complementary
#7D70CD #CDAC70 #92CD70
monochromatic
#403290 #5443BD #7D70CD #A69DDD #CFCBED

Accessibility & contrast

On white

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

On black

5.07
#7D70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D70CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D70CD#FFFFFF#000000##000000
##7D70CD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#678295
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d70cd;
/* rgb */ color: rgb(125, 112, 205);
/* oklch */ color: oklch(59.9% 0.138 287.9);
Tailwind
colors: {
  custom: {
    50: '#a699dd',
    500: '#7d70cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d70cd;
$custom-light: #a699dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70cd",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 248.387,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59913,
    "c": 0.13836,
    "h": 287.9
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#7D70CD
secondary
#D9DDBB
accent
#BB2AA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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