#7B71F4#7B71F4

#7B71F4 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.4% C 0.190 H 282.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7B71F4
RGBrgb(123, 113, 244)
HSLhsl(245, 86%, 70%)
HSVhsv(245, 54%, 96%)
CMYKcmyk(49.6%, 53.7%, 0%, 4.3%)
CIE-LABlab(54.61, 37.59, -64.79)
CIE-LCHlch(54.61, 74.90, 300.12°)
OKLaboklab(62.39% 0.0422 -0.185)
OKLCHoklch(62.39% 0.19 282.9)
XYZxyz(30.3977, 22.5513, 88.3215)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71F4 #EAF471
analogous
#71A9F4 #7B71F4 #BC71F4
triadic
#7B71F4 #F47B71 #71F47B
tetradic
#7B71F4 #F471A9 #EAF471 #71F4BC
square
#7B71F4 #F471A9 #EAF471 #71F4BC
split-complementary
#7B71F4 #F4BC71 #A9F471
monochromatic
#2011DA #4638F0 #7B71F4 #B0AAF8 #E5E3FD

Accessibility & contrast

On white

3.81
#7B71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7B71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71F4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71F4#FFFFFF#000000##000000
##7B71F41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2587F8
Deuteranopia (green-blind)
#177EF1
Tritanopia (blue-blind)
#4D8EA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b71f4;
/* rgb */ color: rgb(123, 113, 244);
/* oklch */ color: oklch(62.4% 0.190 282.9);
Tailwind
colors: {
  custom: {
    50: '#a99af8',
    500: '#7b71f4',
    950: '#000000',
  },
}
SCSS
$custom: #7b71f4;
$custom-light: #a99af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71f4",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 244.58,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.18976,
    "h": 282.9
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#7B71F4
secondary
#F0F3CE
accent
#E203D1
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7B71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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