#7866DA#7866DA

#7866DA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.5% C 0.171 H 287.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7866DA
RGBrgb(120, 102, 218)
HSLhsl(249, 61%, 63%)
HSVhsv(249, 53%, 85%)
CMYKcmyk(45%, 53.2%, 0%, 14.5%)
CIE-LABlab(50.16, 35.80, -57.36)
CIE-LCHlch(50.16, 67.61, 301.97°)
OKLaboklab(58.5% 0.0499 -0.1633)
OKLCHoklch(58.5% 0.171 287)
XYZxyz(25.1483, 18.5567, 68.5728)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7866DA #C8DA66
analogous
#668EDA #7866DA #B266DA
triadic
#7866DA #DA7866 #66DA78
tetradic
#7866DA #DA668E #C8DA66 #66DAB2
square
#7866DA #DA668E #C8DA66 #66DAB2
split-complementary
#7866DA #DAB266 #8EDA66
monochromatic
#39269F #4D35CE #7866DA #A397E6 #CFC9F2

Accessibility & contrast

On white

4.46
#7866DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7866DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7866DA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7866DA#FFFFFF#000000##000000
##7866DA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADE
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#597F96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7866da;
/* rgb */ color: rgb(120, 102, 218);
/* oklch */ color: oklch(58.5% 0.171 287.0);
Tailwind
colors: {
  custom: {
    50: '#a592e6',
    500: '#7866da',
    950: '#000000',
  },
}
SCSS
$custom: #7866da;
$custom-light: #a592e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7866da",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 249.31,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.585,
    "c": 0.17075,
    "h": 287
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#7866DA
secondary
#DCE3B9
accent
#C91DAE
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7866DA

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

Preview Lab → · Contrast checker → · Palette generator →

#7866DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva