#7A70DA#7A70DA

#7A70DA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.156 H 285.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A70DA
RGBrgb(122, 112, 218)
HSLhsl(246, 59%, 65%)
HSVhsv(246, 49%, 85%)
CMYKcmyk(44%, 48.6%, 0%, 14.5%)
CIE-LABlab(52.72, 30.34, -53.26)
CIE-LCHlch(52.72, 61.29, 299.67°)
OKLaboklab(60.45% 0.0405 -0.1512)
OKLCHoklch(60.45% 0.156 285)
XYZxyz(26.4714, 20.7868, 68.9335)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70DA #D0DA70
analogous
#709BDA #7A70DA #AF70DA
triadic
#7A70DA #DA7A70 #70DA7A
tetradic
#7A70DA #DA709B #D0DA70 #70DAAF
square
#7A70DA #DA709B #D0DA70 #70DAAF
split-complementary
#7A70DA #DAAF70 #9BDA70
monochromatic
#362BA5 #4D3FCD #7A70DA #A7A1E7 #D4D1F3

Accessibility & contrast

On white

4.07
#7A70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7A70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70DA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70DA#FFFFFF#000000##000000
##7A70DA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#5C869B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a70da;
/* rgb */ color: rgb(122, 112, 218);
/* oklch */ color: oklch(60.4% 0.156 285.0);
Tailwind
colors: {
  custom: {
    50: '#a599e6',
    500: '#7a70da',
    950: '#000000',
  },
}
SCSS
$custom: #7a70da;
$custom-light: #a599e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70da",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 245.66,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.15648,
    "h": 285
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#7A70DA
secondary
#E2E5C1
accent
#C71FB7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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