#7865BC#7865BC

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

Color values

HEX#7865BC
RGBrgb(120, 101, 188)
HSLhsl(253, 39%, 57%)
HSVhsv(253, 46%, 74%)
CMYKcmyk(36.2%, 46.3%, 0%, 26.3%)
CIE-LABlab(48.17, 27.92, -43.35)
CIE-LCHlch(48.17, 51.57, 302.79°)
OKLaboklab(56.44% 0.0486 -0.1222)
OKLCHoklch(56.44% 0.132 291.7)
XYZxyz(21.4741, 16.9308, 49.7038)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865BC #A9BC65
analogous
#657EBC #7865BC #A465BC
triadic
#7865BC #BC7865 #65BC78
tetradic
#7865BC #BC657E #A9BC65 #65BCA4
square
#7865BC #BC657E #A9BC65 #65BCA4
split-complementary
#7865BC #BCA465 #7EBC65
monochromatic
#413374 #59459F #7865BC #9D90CF #C3BAE1

Accessibility & contrast

On white

4.79
#7865BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7865BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7865BC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865BC#FFFFFF#000000##FFFFFF
##7865BC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#677687
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7865bc;
/* rgb */ color: rgb(120, 101, 188);
/* oklch */ color: oklch(56.4% 0.132 291.7);
Tailwind
colors: {
  custom: {
    50: '#a291d0',
    500: '#7865bc',
    950: '#000000',
  },
}
SCSS
$custom: #7865bc;
$custom-light: #a291d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7865bc",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 253.103,
    "s": 39.367,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.13152,
    "h": 291.7
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7865BC

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

Preview Lab → · Contrast checker → · Palette generator →

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