#7E70BB#7E70BB

#7E70BB is a mid, moderate violet. Relative luminance 0.196; OKLCH L 59.0% C 0.113 H 291.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7E70BB
RGBrgb(126, 112, 187)
HSLhsl(251, 36%, 59%)
HSVhsv(251, 40%, 73%)
CMYKcmyk(32.6%, 40.1%, 0%, 26.7%)
CIE-LABlab(51.39, 22.73, -37.65)
CIE-LCHlch(51.39, 43.97, 301.12°)
OKLaboklab(58.99% 0.0407 -0.1054)
OKLCHoklch(58.99% 0.113 291.1)
XYZxyz(23.3657, 19.6113, 49.5584)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70BB #ADBB70
analogous
#7087BB #7E70BB #A370BB
triadic
#7E70BB #BB7E70 #70BB7E
tetradic
#7E70BB #BB7087 #ADBB70 #70BBA3
square
#7E70BB #BB7087 #ADBB70 #70BBA3
split-complementary
#7E70BB #BBA370 #87BB70
monochromatic
#453978 #5C4DA1 #7E70BB #A399CF #C9C3E2

Accessibility & contrast

On white

4.27
#7E70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7E70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70BB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70BB#FFFFFF#000000##000000
##7E70BB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#707E8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e70bb;
/* rgb */ color: rgb(126, 112, 187);
/* oklch */ color: oklch(59.0% 0.113 291.1);
Tailwind
colors: {
  custom: {
    50: '#a599d0',
    500: '#7e70bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e70bb;
$custom-light: #a599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70bb",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 251.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.11303,
    "h": 291.1
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#7E70BB
secondary
#CDD2B5
accent
#CC5CB7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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