#7E71CA#7E71CA

#7E71CA is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.133 H 288.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7E71CA
RGBrgb(126, 113, 202)
HSLhsl(249, 46%, 62%)
HSVhsv(249, 44%, 79%)
CMYKcmyk(37.6%, 44.1%, 0%, 20.8%)
CIE-LABlab(52.41, 26.21, -44.64)
CIE-LCHlch(52.41, 51.77, 300.41°)
OKLaboklab(60.01% 0.042 -0.1258)
OKLCHoklch(60.01% 0.133 288.4)
XYZxyz(25.1671, 20.5094, 58.4984)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71CA #BDCA71
analogous
#7191CA #7E71CA #AB71CA
triadic
#7E71CA #CA7E71 #71CA7E
tetradic
#7E71CA #CA7191 #BDCA71 #71CAAB
square
#7E71CA #CA7191 #BDCA71 #71CAAB
split-complementary
#7E71CA #CAAB71 #91CA71
monochromatic
#41348C #5645B9 #7E71CA #A69EDB #CFCAEB

Accessibility & contrast

On white

4.12
#7E71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7E71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71CA#FFFFFF#000000##000000
##7E71CA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#6A8294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e71ca;
/* rgb */ color: rgb(126, 113, 202);
/* oklch */ color: oklch(60.0% 0.133 288.4);
Tailwind
colors: {
  custom: {
    50: '#a69ada',
    500: '#7e71ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e71ca;
$custom-light: #a69ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71ca",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 248.764,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.13264,
    "h": 288.4
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#7E71CA
secondary
#D7DCBB
accent
#B92DA4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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