#7B70EC#7B70EC

#7B70EC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.7% C 0.181 H 283.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B70EC
RGBrgb(123, 112, 236)
HSLhsl(245, 77%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(47.9%, 52.5%, 0%, 7.5%)
CIE-LABlab(53.87, 35.82, -61.51)
CIE-LCHlch(53.87, 71.18, 300.21°)
OKLaboklab(61.68% 0.043 -0.1754)
OKLCHoklch(61.68% 0.181 283.8)
XYZxyz(29.0984, 21.8540, 82.0256)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B70EC #E1EC70
analogous
#70A3EC #7B70EC #B970EC
triadic
#7B70EC #EC7B70 #70EC7B
tetradic
#7B70EC #EC70A3 #E1EC70 #70ECB9
square
#7B70EC #EC70A3 #E1EC70 #70ECB9
split-complementary
#7B70EC #ECB970 #A3EC70
monochromatic
#2A1AC7 #493AE5 #7B70EC #ADA6F3 #DFDCFA

Accessibility & contrast

On white

3.91
#7B70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7B70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B70EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B70EC#FFFFFF#000000##000000
##7B70EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#287DE9
Tritanopia (blue-blind)
#538BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b70ec;
/* rgb */ color: rgb(123, 112, 236);
/* oklch */ color: oklch(61.7% 0.181 283.8);
Tailwind
colors: {
  custom: {
    50: '#a899f3',
    500: '#7b70ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b70ec;
$custom-light: #a899f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b70ec",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 245.323,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.18057,
    "h": 283.8
  },
  "luminance": 0.21855
}

Semantic roles & 50–950 ramp

primary
#7B70EC
secondary
#EBEFC9
accent
#D90DC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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