#7A70DB#7A70DB

#7A70DB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.5% C 0.158 H 284.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7A70DB
RGBrgb(122, 112, 219)
HSLhsl(246, 60%, 65%)
HSVhsv(246, 49%, 86%)
CMYKcmyk(44.3%, 48.9%, 0%, 14.1%)
CIE-LABlab(52.77, 30.63, -53.73)
CIE-LCHlch(52.77, 61.85, 299.68°)
OKLaboklab(60.51% 0.0406 -0.1525)
OKLCHoklch(60.51% 0.158 284.9)
XYZxyz(26.6027, 20.8393, 69.6248)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70DB #D1DB70
analogous
#709CDB #7A70DB #AF70DB
triadic
#7A70DB #DB7A70 #70DB7A
tetradic
#7A70DB #DB709C #D1DB70 #70DBAF
square
#7A70DB #DB709C #D1DB70 #70DBAF
split-complementary
#7A70DB #DBAF70 #9CDB70
monochromatic
#362AA7 #4D3FCF #7A70DB #A7A1E7 #D5D2F4

Accessibility & contrast

On white

4.06
#7A70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7A70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70DB#FFFFFF#000000##000000
##7A70DB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#5B869B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a70db;
/* rgb */ color: rgb(122, 112, 219);
/* oklch */ color: oklch(60.5% 0.158 284.9);
Tailwind
colors: {
  custom: {
    50: '#a699e7',
    500: '#7a70db',
    950: '#000000',
  },
}
SCSS
$custom: #7a70db;
$custom-light: #a699e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70db",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 245.607,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.15784,
    "h": 284.9
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#7A70DB
secondary
#E2E6C1
accent
#C71EB8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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