#7A70DF#7A70DF

#7A70DF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.163 H 284.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7A70DF
RGBrgb(122, 112, 223)
HSLhsl(245, 63%, 66%)
HSVhsv(245, 50%, 87%)
CMYKcmyk(45.3%, 49.8%, 0%, 12.5%)
CIE-LABlab(53.01, 31.79, -55.61)
CIE-LCHlch(53.01, 64.06, 299.75°)
OKLaboklab(60.76% 0.0409 -0.1581)
OKLCHoklch(60.76% 0.163 284.5)
XYZxyz(27.1356, 21.0524, 72.4315)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70DF #D5DF70
analogous
#709DDF #7A70DF #B170DF
triadic
#7A70DF #DF7A70 #70DF7A
tetradic
#7A70DF #DF709D #D5DF70 #70DFB1
square
#7A70DF #DF709D #D5DF70 #70DFB1
split-complementary
#7A70DF #DFB170 #9DDF70
monochromatic
#3327AE #4B3ED4 #7A70DF #A9A2EA #D7D4F5

Accessibility & contrast

On white

4.03
#7A70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7A70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70DF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70DF#FFFFFF#000000##000000
##7A70DF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#59889D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a70df;
/* rgb */ color: rgb(122, 112, 223);
/* oklch */ color: oklch(60.8% 0.163 284.5);
Tailwind
colors: {
  custom: {
    50: '#a699e9',
    500: '#7a70df',
    950: '#000000',
  },
}
SCSS
$custom: #7a70df;
$custom-light: #a699e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70df",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 245.405,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.16328,
    "h": 284.5
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#7A70DF
secondary
#E5E8C3
accent
#CB1ABB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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