#7D70AF#7D70AF

#7D70AF is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.3% C 0.096 H 292.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D70AF
RGBrgb(125, 112, 175)
HSLhsl(252, 28%, 56%)
HSVhsv(252, 36%, 69%)
CMYKcmyk(28.6%, 36%, 0%, 31.4%)
CIE-LABlab(50.74, 19.28, -31.75)
CIE-LCHlch(50.74, 37.14, 301.27°)
OKLaboklab(58.29% 0.0369 -0.0884)
OKLCHoklch(58.29% 0.096 292.6)
XYZxyz(21.9876, 19.0431, 43.0664)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70AF #A2AF70
analogous
#7083AF #7D70AF #9D70AF
triadic
#7D70AF #AF7D70 #70AF7D
tetradic
#7D70AF #AF7083 #A2AF70 #70AF9D
square
#7D70AF #AF7083 #A2AF70 #70AF9D
split-complementary
#7D70AF #AF9D70 #83AF70
monochromatic
#453B6A #5E5191 #7D70AF #A197C5 #C4BEDB

Accessibility & contrast

On white

4.37
#7D70AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7D70AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D70AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D70AF#FFFFFF#000000##000000
##7D70AF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d70af;
/* rgb */ color: rgb(125, 112, 175);
/* oklch */ color: oklch(58.3% 0.096 292.6);
Tailwind
colors: {
  custom: {
    50: '#a499c7',
    500: '#7d70af',
    950: '#000000',
  },
}
SCSS
$custom: #7d70af;
$custom-light: #a499c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70af",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 252.381,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.09578,
    "h": 292.6
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D70AF

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

Preview Lab → · Contrast checker → · Palette generator →

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