#7B71DA#7B71DA

#7B71DA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.155 H 285.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7B71DA
RGBrgb(123, 113, 218)
HSLhsl(246, 59%, 65%)
HSVhsv(246, 48%, 85%)
CMYKcmyk(43.6%, 48.2%, 0%, 14.5%)
CIE-LABlab(53.04, 29.98, -52.74)
CIE-LCHlch(53.04, 60.66, 299.62°)
OKLaboklab(60.71% 0.0404 -0.1496)
OKLCHoklch(60.71% 0.155 285.1)
XYZxyz(26.7247, 21.0821, 68.9772)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71DA #D0DA71
analogous
#719CDA #7B71DA #AF71DA
triadic
#7B71DA #DA7B71 #71DA7B
tetradic
#7B71DA #DA719C #D0DA71 #71DAAF
square
#7B71DA #DA719C #D0DA71 #71DAAF
split-complementary
#7B71DA #DAAF71 #9CDA71
monochromatic
#372BA5 #4E40CD #7B71DA #A8A2E7 #D5D2F3

Accessibility & contrast

On white

4.03
#7B71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7B71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71DA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71DA#FFFFFF#000000##000000
##7B71DA1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DE
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#5D879B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b71da;
/* rgb */ color: rgb(123, 113, 218);
/* oklch */ color: oklch(60.7% 0.155 285.1);
Tailwind
colors: {
  custom: {
    50: '#a69ae6',
    500: '#7b71da',
    950: '#000000',
  },
}
SCSS
$custom: #7b71da;
$custom-light: #a69ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71da",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 245.714,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.15497,
    "h": 285.1
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#7B71DA
secondary
#E2E5C1
accent
#C61FB6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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