#7D70BB#7D70BB

#7D70BB is a mid, moderate violet. Relative luminance 0.195; OKLCH L 58.9% C 0.113 H 290.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7D70BB
RGBrgb(125, 112, 187)
HSLhsl(250, 36%, 59%)
HSVhsv(250, 40%, 73%)
CMYKcmyk(33.2%, 40.1%, 0%, 26.7%)
CIE-LABlab(51.31, 22.44, -37.79)
CIE-LCHlch(51.31, 43.95, 300.71°)
OKLaboklab(58.91% 0.0395 -0.1059)
OKLCHoklch(58.91% 0.113 290.5)
XYZxyz(23.2189, 19.5356, 49.5515)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70BB #AEBB70
analogous
#7088BB #7D70BB #A270BB
triadic
#7D70BB #BB7D70 #70BB7D
tetradic
#7D70BB #BB7088 #AEBB70 #70BBA2
square
#7D70BB #BB7088 #AEBB70 #70BBA2
split-complementary
#7D70BB #BBA270 #88BB70
monochromatic
#443978 #5B4DA1 #7D70BB #A399CF #C8C3E2

Accessibility & contrast

On white

4.28
#7D70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7D70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D70BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D70BB#FFFFFF#000000##000000
##7D70BB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d70bb;
/* rgb */ color: rgb(125, 112, 187);
/* oklch */ color: oklch(58.9% 0.113 290.5);
Tailwind
colors: {
  custom: {
    50: '#a599d0',
    500: '#7d70bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d70bb;
$custom-light: #a599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70bb",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 250.4,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.11301,
    "h": 290.5
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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