#7B70F5#7B70F5

#7B70F5 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.3% C 0.192 H 283.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7B70F5
RGBrgb(123, 112, 245)
HSLhsl(245, 87%, 70%)
HSVhsv(245, 54%, 96%)
CMYKcmyk(49.8%, 54.3%, 0%, 3.9%)
CIE-LABlab(54.44, 38.47, -65.61)
CIE-LCHlch(54.44, 76.06, 300.38°)
OKLaboklab(62.28% 0.0433 -0.1874)
OKLCHoklch(62.28% 0.192 283)
XYZxyz(30.4390, 22.3903, 89.0863)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B70F5 #EAF570
analogous
#70A8F5 #7B70F5 #BD70F5
triadic
#7B70F5 #F57B70 #70F57B
tetradic
#7B70F5 #F570A8 #EAF570 #70F5BD
square
#7B70F5 #F570A8 #EAF570 #70F5BD
split-complementary
#7B70F5 #F5BD70 #A8F570
monochromatic
#200FDB #4637F1 #7B70F5 #B0A9F9 #E5E2FD

Accessibility & contrast

On white

3.83
#7B70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7B70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B70F5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B70F5#FFFFFF#000000##000000
##7B70F51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#0D7EF2
Tritanopia (blue-blind)
#4C8EA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b70f5;
/* rgb */ color: rgb(123, 112, 245);
/* oklch */ color: oklch(62.3% 0.192 283.0);
Tailwind
colors: {
  custom: {
    50: '#a999f9',
    500: '#7b70f5',
    950: '#000000',
  },
}
SCSS
$custom: #7b70f5;
$custom-light: #a999f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b70f5",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 244.962,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.62284,
    "c": 0.19238,
    "h": 283
  },
  "luminance": 0.22392
}

Semantic roles & 50–950 ramp

primary
#7B70F5
secondary
#F0F3CE
accent
#E302D1
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7B70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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