#7F70E7#7F70E7

#7F70E7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.7% C 0.174 H 285.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7F70E7
RGBrgb(127, 112, 231)
HSLhsl(248, 71%, 67%)
HSVhsv(248, 52%, 91%)
CMYKcmyk(45%, 51.5%, 0%, 9.4%)
CIE-LABlab(53.89, 35.24, -58.67)
CIE-LCHlch(53.89, 68.44, 300.99°)
OKLaboklab(61.67% 0.0475 -0.1669)
OKLCHoklch(61.67% 0.174 285.9)
XYZxyz(28.9662, 21.8687, 78.2806)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70E7 #D8E770
analogous
#709DE7 #7F70E7 #BB70E7
triadic
#7F70E7 #E77F70 #70E77F
tetradic
#7F70E7 #E7709D #D8E770 #70E7BB
square
#7F70E7 #E7709D #D8E770 #70E7BB
split-complementary
#7F70E7 #E7BB70 #9DE770
monochromatic
#3420BD #503CDE #7F70E7 #AEA4F0 #DDD9F9

Accessibility & contrast

On white

3.91
#7F70E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7F70E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70E7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70E7#FFFFFF#000000##000000
##7F70E71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#357DE4
Tritanopia (blue-blind)
#5E89A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f70e7;
/* rgb */ color: rgb(127, 112, 231);
/* oklch */ color: oklch(61.7% 0.174 285.9);
Tailwind
colors: {
  custom: {
    50: '#aa99ef',
    500: '#7f70e7',
    950: '#000000',
  },
}
SCSS
$custom: #7f70e7;
$custom-light: #aa99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70e7",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 247.563,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.17354,
    "h": 285.9
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#7F70E7
secondary
#E7ECC7
accent
#D312BB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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