#7F70D0#7F70D0

#7F70D0 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.142 H 288.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7F70D0
RGBrgb(127, 112, 208)
HSLhsl(249, 51%, 63%)
HSVhsv(249, 46%, 82%)
CMYKcmyk(38.9%, 46.2%, 0%, 18.4%)
CIE-LABlab(52.57, 28.72, -47.80)
CIE-LCHlch(52.57, 55.77, 301.00°)
OKLaboklab(60.26% 0.0453 -0.135)
OKLCHoklch(60.26% 0.142 288.5)
XYZxyz(25.9286, 20.6536, 62.2827)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70D0 #C1D070
analogous
#7091D0 #7F70D0 #AF70D0
triadic
#7F70D0 #D07F70 #70D07F
tetradic
#7F70D0 #D07091 #C1D070 #70D0AF
square
#7F70D0 #D07091 #C1D070 #70D0AF
split-complementary
#7F70D0 #D0AF70 #91D070
monochromatic
#403195 #5642C1 #7F70D0 #A89EDF #D1CCEE

Accessibility & contrast

On white

4.09
#7F70D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7F70D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70D0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70D0#FFFFFF#000000##000000
##7F70D01.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D4
Deuteranopia (green-blind)
#4D7BCE
Tritanopia (blue-blind)
#698396
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f70d0;
/* rgb */ color: rgb(127, 112, 208);
/* oklch */ color: oklch(60.3% 0.142 288.5);
Tailwind
colors: {
  custom: {
    50: '#a899df',
    500: '#7f70d0',
    950: '#000000',
  },
}
SCSS
$custom: #7f70d0;
$custom-light: #a899df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70d0",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 208
  },
  "hsl": {
    "h": 249.375,
    "s": 50.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.14244,
    "h": 288.5
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#7F70D0
secondary
#DADFBD
accent
#BE28A6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F70D0

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

Preview Lab → · Contrast checker → · Palette generator →

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