#7865BB#7865BB

#7865BB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.4% C 0.130 H 291.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7865BB
RGBrgb(120, 101, 187)
HSLhsl(253, 39%, 56%)
HSVhsv(253, 46%, 73%)
CMYKcmyk(35.8%, 46%, 0%, 26.7%)
CIE-LABlab(48.12, 27.65, -42.86)
CIE-LCHlch(48.12, 51.00, 302.83°)
OKLaboklab(56.39% 0.0484 -0.1208)
OKLCHoklch(56.39% 0.13 291.8)
XYZxyz(21.3667, 16.8878, 49.1380)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865BB #A8BB65
analogous
#657DBB #7865BB #A365BB
triadic
#7865BB #BB7865 #65BB78
tetradic
#7865BB #BB657D #A8BB65 #65BBA3
square
#7865BB #BB657D #A8BB65 #65BBA3
split-complementary
#7865BB #BBA365 #7DBB65
monochromatic
#413373 #59459D #7865BB #9D8FCE #C2BAE0

Accessibility & contrast

On white

4.80
#7865BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7865BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7865BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865BB#FFFFFF#000000##FFFFFF
##7865BB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#677687
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7865bb;
/* rgb */ color: rgb(120, 101, 187);
/* oklch */ color: oklch(56.4% 0.130 291.8);
Tailwind
colors: {
  custom: {
    50: '#a291d0',
    500: '#7865bb',
    950: '#000000',
  },
}
SCSS
$custom: #7865bb;
$custom-light: #a291d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7865bb",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 253.256,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.13014,
    "h": 291.8
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#7865BB
secondary
#C8D0AC
accent
#CF59B5
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7865BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7865BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva