#7F70EA#7F70EA

#7F70EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.178 H 285.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7F70EA
RGBrgb(127, 112, 234)
HSLhsl(247, 74%, 68%)
HSVhsv(247, 52%, 92%)
CMYKcmyk(45.7%, 52.1%, 0%, 8.2%)
CIE-LABlab(54.07, 36.10, -60.06)
CIE-LCHlch(54.07, 70.08, 301.01°)
OKLaboklab(61.87% 0.0477 -0.171)
OKLCHoklch(61.87% 0.178 285.6)
XYZxyz(29.3935, 22.0396, 80.5313)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70EA #DBEA70
analogous
#709EEA #7F70EA #BC70EA
triadic
#7F70EA #EA7F70 #70EA7F
tetradic
#7F70EA #EA709E #DBEA70 #70EABC
square
#7F70EA #EA709E #DBEA70 #70EABC
split-complementary
#7F70EA #EABC70 #9EEA70
monochromatic
#311DC3 #4F3BE2 #7F70EA #AFA5F2 #DFDBFA

Accessibility & contrast

On white

3.88
#7F70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7F70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70EA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70EA#FFFFFF#000000##000000
##7F70EA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#307EE7
Tritanopia (blue-blind)
#5C8AA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f70ea;
/* rgb */ color: rgb(127, 112, 234);
/* oklch */ color: oklch(61.9% 0.178 285.6);
Tailwind
colors: {
  custom: {
    50: '#aa99f1',
    500: '#7f70ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f70ea;
$custom-light: #aa99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70ea",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 247.377,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.17752,
    "h": 285.6
  },
  "luminance": 0.22041
}

Semantic roles & 50–950 ramp

primary
#7F70EA
secondary
#E9EEC8
accent
#D70FBE
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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