#7F70EF#7F70EF

#7F70EF is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.2% C 0.184 H 285.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7F70EF
RGBrgb(127, 112, 239)
HSLhsl(247, 80%, 69%)
HSVhsv(247, 53%, 94%)
CMYKcmyk(46.9%, 53.1%, 0%, 6.3%)
CIE-LABlab(54.38, 37.55, -62.36)
CIE-LCHlch(54.38, 72.79, 301.05°)
OKLaboklab(62.2% 0.0479 -0.1778)
OKLCHoklch(62.2% 0.184 285.1)
XYZxyz(30.1220, 22.3310, 84.3678)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70EF #E0EF70
analogous
#70A1EF #7F70EF #BF70EF
triadic
#7F70EF #EF7F70 #70EF7F
tetradic
#7F70EF #EF70A1 #E0EF70 #70EFBF
square
#7F70EF #EF70A1 #E0EF70 #70EFBF
split-complementary
#7F70EF #EFBF70 #A1EF70
monochromatic
#2D17CE #4E39E9 #7F70EF #B0A7F5 #E2DEFB

Accessibility & contrast

On white

3.84
#7F70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7F70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70EF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70EF#FFFFFF#000000##000000
##7F70EF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#598CA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f70ef;
/* rgb */ color: rgb(127, 112, 239);
/* oklch */ color: oklch(62.2% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#ab99f5',
    500: '#7f70ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f70ef;
$custom-light: #ab99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70ef",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 247.087,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62195,
    "c": 0.1841,
    "h": 285.1
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#7F70EF
secondary
#ECF0CB
accent
#DC09C3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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