#7867BF#7867BF

#7867BF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.0% C 0.133 H 290.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7867BF
RGBrgb(120, 103, 191)
HSLhsl(252, 41%, 58%)
HSVhsv(252, 46%, 75%)
CMYKcmyk(37.2%, 46.1%, 0%, 25.1%)
CIE-LABlab(48.83, 27.55, -44.05)
CIE-LCHlch(48.83, 51.95, 302.03°)
OKLaboklab(56.99% 0.0463 -0.1242)
OKLCHoklch(56.99% 0.133 290.4)
XYZxyz(21.9974, 17.4546, 51.4902)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867BF #AEBF67
analogous
#6782BF #7867BF #A467BF
triadic
#7867BF #BF7867 #67BF78
tetradic
#7867BF #BF6782 #AEBF67 #67BFA4
square
#7867BF #BF6782 #AEBF67 #67BFA4
split-complementary
#7867BF #BFA467 #82BF67
monochromatic
#403379 #5745A4 #7867BF #9E92D1 #C4BDE3

Accessibility & contrast

On white

4.68
#7867BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7867BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7867BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867BF#FFFFFF#000000##FFFFFF
##7867BF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#66788A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7867bf;
/* rgb */ color: rgb(120, 103, 191);
/* oklch */ color: oklch(57.0% 0.133 290.4);
Tailwind
colors: {
  custom: {
    50: '#a292d3',
    500: '#7867bf',
    950: '#000000',
  },
}
SCSS
$custom: #7867bf;
$custom-light: #a292d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7867bf",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 191
  },
  "hsl": {
    "h": 251.591,
    "s": 40.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.1326,
    "h": 290.4
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#7867BF
secondary
#CCD3AF
accent
#D157B9
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7867BF

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

Preview Lab → · Contrast checker → · Palette generator →

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