#7B70F8#7B70F8

#7B70F8 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.5% C 0.196 H 282.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B70F8
RGBrgb(123, 112, 248)
HSLhsl(245, 91%, 71%)
HSVhsv(245, 55%, 97%)
CMYKcmyk(50.4%, 54.8%, 0%, 2.7%)
CIE-LABlab(54.63, 39.36, -66.97)
CIE-LCHlch(54.63, 77.68, 300.44°)
OKLaboklab(62.49% 0.0434 -0.1914)
OKLCHoklch(62.49% 0.196 282.8)
XYZxyz(30.9007, 22.5749, 91.5179)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B70F8 #EDF870
analogous
#70A9F8 #7B70F8 #BF70F8
triadic
#7B70F8 #F87B70 #70F87B
tetradic
#7B70F8 #F870A9 #EDF870 #70F8BF
square
#7B70F8 #F870A9 #EDF870 #70F8BF
split-complementary
#7B70F8 #F8BF70 #A9F870
monochromatic
#1D0BE3 #4536F5 #7B70F8 #B1AAFB #E4E2FE

Accessibility & contrast

On white

3.81
#7B70F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7B70F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B70F8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B70F8#FFFFFF#000000##000000
##7B70F81.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1787FD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#4A8FA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b70f8;
/* rgb */ color: rgb(123, 112, 248);
/* oklch */ color: oklch(62.5% 0.196 282.8);
Tailwind
colors: {
  custom: {
    50: '#a999fb',
    500: '#7b70f8',
    950: '#000000',
  },
}
SCSS
$custom: #7b70f8;
$custom-light: #a999fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b70f8",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 244.853,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.19628,
    "h": 282.8
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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