#7E70AF#7E70AF

#7E70AF is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.4% C 0.096 H 293.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7E70AF
RGBrgb(126, 112, 175)
HSLhsl(253, 28%, 56%)
HSVhsv(253, 36%, 69%)
CMYKcmyk(28%, 36%, 0%, 31.4%)
CIE-LABlab(50.83, 19.58, -31.60)
CIE-LCHlch(50.83, 37.17, 301.78°)
OKLaboklab(58.37% 0.0381 -0.0879)
OKLCHoklch(58.37% 0.096 293.4)
XYZxyz(22.1343, 19.1188, 43.0733)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70AF #A1AF70
analogous
#7082AF #7E70AF #9E70AF
triadic
#7E70AF #AF7E70 #70AF7E
tetradic
#7E70AF #AF7082 #A1AF70 #70AF9E
square
#7E70AF #AF7082 #A1AF70 #70AF9E
split-complementary
#7E70AF #AF9E70 #82AF70
monochromatic
#453B6A #5F5191 #7E70AF #A197C5 #C5BEDB

Accessibility & contrast

On white

4.35
#7E70AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7E70AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70AF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70AF#FFFFFF#000000##000000
##7E70AF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB1
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#737B87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e70af;
/* rgb */ color: rgb(126, 112, 175);
/* oklch */ color: oklch(58.4% 0.096 293.4);
Tailwind
colors: {
  custom: {
    50: '#a599c7',
    500: '#7e70af',
    950: '#000000',
  },
}
SCSS
$custom: #7e70af;
$custom-light: #a599c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70af",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 253.333,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.09584,
    "h": 293.4
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

primary
#7E70AF
secondary
#C5CAB0
accent
#C563AF
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7E70AF

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

Preview Lab → · Contrast checker → · Palette generator →

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