#7E70F8#7E70F8

#7E70F8 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.7% C 0.196 H 283.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7E70F8
RGBrgb(126, 112, 248)
HSLhsl(246, 91%, 71%)
HSVhsv(246, 55%, 97%)
CMYKcmyk(49.2%, 54.8%, 0%, 2.7%)
CIE-LABlab(54.87, 39.96, -66.58)
CIE-LCHlch(54.87, 77.65, 300.97°)
OKLaboklab(62.72% 0.047 -0.1902)
OKLCHoklch(62.72% 0.196 283.9)
XYZxyz(31.3366, 22.7997, 91.5383)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70F8 #EAF870
analogous
#70A6F8 #7E70F8 #C270F8
triadic
#7E70F8 #F87E70 #70F87E
tetradic
#7E70F8 #F870A6 #EAF870 #70F8C2
square
#7E70F8 #F870A6 #EAF870 #70F8C2
split-complementary
#7E70F8 #F8C270 #A6F870
monochromatic
#210BE3 #4936F5 #7E70F8 #B3AAFB #E5E2FE

Accessibility & contrast

On white

3.78
#7E70F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7E70F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70F8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70F8#FFFFFF#000000##000000
##7E70F81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1988FD
Deuteranopia (green-blind)
#077FF5
Tritanopia (blue-blind)
#518FA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e70f8;
/* rgb */ color: rgb(126, 112, 248);
/* oklch */ color: oklch(62.7% 0.196 283.9);
Tailwind
colors: {
  custom: {
    50: '#ab99fb',
    500: '#7e70f8',
    950: '#000000',
  },
}
SCSS
$custom: #7e70f8;
$custom-light: #ab99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70f8",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 246.176,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.19591,
    "h": 283.9
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#7E70F8
secondary
#F1F4CF
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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