#7C84DF#7C84DF

#7C84DF is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.7% C 0.135 H 278.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7C84DF
RGBrgb(124, 132, 223)
HSLhsl(235, 61%, 68%)
HSVhsv(235, 44%, 87%)
CMYKcmyk(44.4%, 40.8%, 0%, 12.5%)
CIE-LABlab(58.14, 20.38, -47.42)
CIE-LCHlch(58.14, 51.62, 293.26°)
OKLaboklab(64.69% 0.0191 -0.1339)
OKLCHoklch(64.69% 0.135 278.1)
XYZxyz(29.8787, 26.1138, 73.2639)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C84DF #DFD77C
analogous
#7CB5DF #7C84DF #A67CDF
triadic
#7C84DF #DF7C84 #84DF7C
tetradic
#7C84DF #DF7CB5 #DFD77C #7CDFA6
square
#7C84DF #DF7CB5 #DFD77C #7CDFA6
split-complementary
#7C84DF #DFA67C #B5DF7C
monochromatic
#2C37B5 #4B56D3 #7C84DF #ADB2EB #DEE0F7

Accessibility & contrast

On white

3.37
#7C84DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7C84DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C84DF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C84DF#FFFFFF#000000##000000
##7C84DF1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#5B88DD
Tritanopia (blue-blind)
#5B97A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c84df;
/* rgb */ color: rgb(124, 132, 223);
/* oklch */ color: oklch(64.7% 0.135 278.1);
Tailwind
colors: {
  custom: {
    50: '#a6a7e9',
    500: '#7c84df',
    950: '#000000',
  },
}
SCSS
$custom: #7c84df;
$custom-light: #a6a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c84df",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 235.152,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64691,
    "c": 0.13527,
    "h": 278.1
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

primary
#7C84DF
secondary
#EBE8CC
accent
#BB1DC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7C84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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