#7D70BC#7D70BC

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

Color values

HEX#7D70BC
RGBrgb(125, 112, 188)
HSLhsl(250, 36%, 59%)
HSVhsv(250, 40%, 74%)
CMYKcmyk(33.5%, 40.4%, 0%, 26.3%)
CIE-LABlab(51.36, 22.71, -38.29)
CIE-LCHlch(51.36, 44.52, 300.68°)
OKLaboklab(58.96% 0.0397 -0.1073)
OKLCHoklch(58.96% 0.114 290.3)
XYZxyz(23.3263, 19.5786, 50.1173)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70BC #AFBC70
analogous
#7089BC #7D70BC #A370BC
triadic
#7D70BC #BC7D70 #70BC7D
tetradic
#7D70BC #BC7089 #AFBC70 #70BCA3
square
#7D70BC #BC7089 #AFBC70 #70BCA3
split-complementary
#7D70BC #BCA370 #89BC70
monochromatic
#443979 #5B4CA3 #7D70BC #A39AD0 #C9C3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D70BC#FFFFFF#000000##000000
##7D70BC1.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)
#597CBF
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#6E7E8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d70bc;
/* rgb */ color: rgb(125, 112, 188);
/* oklch */ color: oklch(59.0% 0.114 290.3);
Tailwind
colors: {
  custom: {
    50: '#a599d0',
    500: '#7d70bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d70bc;
$custom-light: #a599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70bc",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 250.263,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.11443,
    "h": 290.3
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#7D70BC
secondary
#CED3B5
accent
#CC5CB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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