#7B70EB#7B70EB

#7B70EB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.179 H 283.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B70EB
RGBrgb(123, 112, 235)
HSLhsl(245, 75%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(53.81, 35.52, -61.05)
CIE-LCHlch(53.81, 70.64, 300.19°)
OKLaboklab(61.61% 0.0429 -0.174)
OKLCHoklch(61.61% 0.179 283.9)
XYZxyz(28.9535, 21.7960, 81.2626)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B70EB #E0EB70
analogous
#70A2EB #7B70EB #B870EB
triadic
#7B70EB #EB7B70 #70EB7B
tetradic
#7B70EB #EB70A2 #E0EB70 #70EBB8
square
#7B70EB #EB70A2 #E0EB70 #70EBB8
split-complementary
#7B70EB #EBB870 #A2EB70
monochromatic
#2B1CC5 #493AE3 #7B70EB #ADA6F3 #DEDBFA

Accessibility & contrast

On white

3.92
#7B70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7B70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B70EB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B70EB#FFFFFF#000000##000000
##7B70EB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EF
Deuteranopia (green-blind)
#2A7DE8
Tritanopia (blue-blind)
#548BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b70eb;
/* rgb */ color: rgb(123, 112, 235);
/* oklch */ color: oklch(61.6% 0.179 283.9);
Tailwind
colors: {
  custom: {
    50: '#a899f2',
    500: '#7b70eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b70eb;
$custom-light: #a899f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b70eb",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 245.366,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.17925,
    "h": 283.9
  },
  "luminance": 0.21797
}

Semantic roles & 50–950 ramp

primary
#7B70EB
secondary
#EBEEC9
accent
#D80EC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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