#7865BF#7865BF

#7865BF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.6% C 0.136 H 291.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7865BF
RGBrgb(120, 101, 191)
HSLhsl(253, 41%, 57%)
HSVhsv(253, 47%, 75%)
CMYKcmyk(37.2%, 47.1%, 0%, 25.1%)
CIE-LABlab(48.34, 28.75, -44.83)
CIE-LCHlch(48.34, 53.25, 302.67°)
OKLaboklab(56.62% 0.049 -0.1265)
OKLCHoklch(56.62% 0.136 291.1)
XYZxyz(21.8009, 17.0615, 51.4247)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865BF #ACBF65
analogous
#657FBF #7865BF #A565BF
triadic
#7865BF #BF7865 #65BF78
tetradic
#7865BF #BF657F #ACBF65 #65BFA5
square
#7865BF #BF657F #ACBF65 #65BFA5
split-complementary
#7865BF #BFA565 #7FBF65
monochromatic
#413278 #5844A3 #7865BF #9E90D1 #C4BBE3

Accessibility & contrast

On white

4.76
#7865BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7865BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7865BF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865BF#FFFFFF#000000##FFFFFF
##7865BF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#667789
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7865bf;
/* rgb */ color: rgb(120, 101, 191);
/* oklch */ color: oklch(56.6% 0.136 291.1);
Tailwind
colors: {
  custom: {
    50: '#a291d3',
    500: '#7865bf',
    950: '#000000',
  },
}
SCSS
$custom: #7865bf;
$custom-light: #a291d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7865bf",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 252.667,
    "s": 41.284,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56621,
    "c": 0.13567,
    "h": 291.1
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#7865BF
secondary
#CAD2AE
accent
#D157B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7865BF

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

Preview Lab → · Contrast checker → · Palette generator →

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