#7E70FB#7E70FB

#7E70FB is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.9% C 0.200 H 283.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7E70FB
RGBrgb(126, 112, 251)
HSLhsl(246, 95%, 71%)
HSVhsv(246, 55%, 98%)
CMYKcmyk(49.8%, 55.4%, 0%, 1.6%)
CIE-LABlab(55.06, 40.84, -67.93)
CIE-LCHlch(55.06, 79.26, 301.02°)
OKLaboklab(62.93% 0.047 -0.1942)
OKLCHoklch(62.93% 0.2 283.6)
XYZxyz(31.8057, 22.9873, 94.0092)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70FB #EDFB70
analogous
#70A7FB #7E70FB #C370FB
triadic
#7E70FB #FB7E70 #70FB7E
tetradic
#7E70FB #FB70A7 #EDFB70 #70FBC3
square
#7E70FB #FB70A7 #EDFB70 #70FBC3
split-complementary
#7E70FB #FBC370 #A7FB70
monochromatic
#1D07EA #4834F9 #7E70FB #B4ACFD #E4E1FE

Accessibility & contrast

On white

3.75
#7E70FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7E70FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70FB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70FB#FFFFFF#000000##000000
##7E70FB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#4E90AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e70fb;
/* rgb */ color: rgb(126, 112, 251);
/* oklch */ color: oklch(62.9% 0.200 283.6);
Tailwind
colors: {
  custom: {
    50: '#ac99fd',
    500: '#7e70fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e70fb;
$custom-light: #ac99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70fb",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 246.043,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.19977,
    "h": 283.6
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#7E70FB
secondary
#F2F6D1
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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