#7B70EA#7B70EA

#7B70EA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.178 H 283.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7B70EA
RGBrgb(123, 112, 234)
HSLhsl(245, 74%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47.4%, 52.1%, 0%, 8.2%)
CIE-LABlab(53.75, 35.23, -60.59)
CIE-LCHlch(53.75, 70.09, 300.17°)
OKLaboklab(61.55% 0.0429 -0.1727)
OKLCHoklch(61.55% 0.178 283.9)
XYZxyz(28.8094, 21.7384, 80.5039)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B70EA #DFEA70
analogous
#70A2EA #7B70EA #B870EA
triadic
#7B70EA #EA7B70 #70EA7B
tetradic
#7B70EA #EA70A2 #DFEA70 #70EAB8
square
#7B70EA #EA70A2 #DFEA70 #70EAB8
split-complementary
#7B70EA #EAB870 #A2EA70
monochromatic
#2C1DC3 #4A3BE2 #7B70EA #ACA5F2 #DEDBFA

Accessibility & contrast

On white

3.93
#7B70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7B70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B70EA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B70EA#FFFFFF#000000##000000
##7B70EA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#2B7DE7
Tritanopia (blue-blind)
#548BA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b70ea;
/* rgb */ color: rgb(123, 112, 234);
/* oklch */ color: oklch(61.5% 0.178 283.9);
Tailwind
colors: {
  custom: {
    50: '#a899f1',
    500: '#7b70ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b70ea;
$custom-light: #a899f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b70ea",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 245.41,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.17792,
    "h": 283.9
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#7B70EA
secondary
#EAEEC8
accent
#D70FC5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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