#7F70DA#7F70DA

#7F70DA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.156 H 287.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7F70DA
RGBrgb(127, 112, 218)
HSLhsl(248, 59%, 65%)
HSVhsv(248, 49%, 85%)
CMYKcmyk(41.7%, 48.6%, 0%, 14.5%)
CIE-LABlab(53.13, 31.53, -52.58)
CIE-LCHlch(53.13, 61.31, 300.95°)
OKLaboklab(60.86% 0.0464 -0.149)
OKLCHoklch(60.86% 0.156 287.3)
XYZxyz(27.1979, 21.1613, 68.9676)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70DA #CBDA70
analogous
#7096DA #7F70DA #B470DA
triadic
#7F70DA #DA7F70 #70DA7F
tetradic
#7F70DA #DA7096 #CBDA70 #70DAB4
square
#7F70DA #DA7096 #CBDA70 #70DAB4
split-complementary
#7F70DA #DAB470 #96DA70
monochromatic
#3C2BA5 #533FCD #7F70DA #ABA1E7 #D6D1F3

Accessibility & contrast

On white

4.01
#7F70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7F70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70DA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70DA#FFFFFF#000000##000000
##7F70DA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DE
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#64869B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f70da;
/* rgb */ color: rgb(127, 112, 218);
/* oklch */ color: oklch(60.9% 0.156 287.3);
Tailwind
colors: {
  custom: {
    50: '#a999e6',
    500: '#7f70da',
    950: '#000000',
  },
}
SCSS
$custom: #7f70da;
$custom-light: #a999e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70da",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 248.491,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.1561,
    "h": 287.3
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#7F70DA
secondary
#E0E5C1
accent
#C71FAF
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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