#7F70F6#7F70F6

#7F70F6 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.7% C 0.193 H 284.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7F70F6
RGBrgb(127, 112, 246)
HSLhsl(247, 88%, 70%)
HSVhsv(247, 54%, 96%)
CMYKcmyk(48.4%, 54.5%, 0%, 3.5%)
CIE-LABlab(54.82, 39.58, -65.54)
CIE-LCHlch(54.82, 76.57, 301.13°)
OKLaboklab(62.66% 0.0481 -0.1871)
OKLCHoklch(62.66% 0.193 284.4)
XYZxyz(31.1762, 22.7527, 89.9199)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70F6 #E7F670
analogous
#70A4F6 #7F70F6 #C270F6
triadic
#7F70F6 #F67F70 #70F67F
tetradic
#7F70F6 #F670A4 #E7F670 #70F6C2
square
#7F70F6 #F670A4 #E7F670 #70F6C2
split-complementary
#7F70F6 #F6C270 #A4F670
monochromatic
#250EDE #4B36F2 #7F70F6 #B3AAFA #E5E2FD

Accessibility & contrast

On white

3.78
#7F70F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7F70F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70F6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70F6#FFFFFF#000000##000000
##7F70F61.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FB
Deuteranopia (green-blind)
#157FF3
Tritanopia (blue-blind)
#548EA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f70f6;
/* rgb */ color: rgb(127, 112, 246);
/* oklch */ color: oklch(62.7% 0.193 284.4);
Tailwind
colors: {
  custom: {
    50: '#ac99fa',
    500: '#7f70f6',
    950: '#000000',
  },
}
SCSS
$custom: #7f70f6;
$custom-light: #ac99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70f6",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 246.716,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.19321,
    "h": 284.4
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#7F70F6
secondary
#EFF3CE
accent
#E501CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F70F6

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

Preview Lab → · Contrast checker → · Palette generator →

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