#7867F5#7867F5

#7867F5 is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.5% C 0.204 H 283.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7867F5
RGBrgb(120, 103, 245)
HSLhsl(247, 88%, 68%)
HSVhsv(247, 58%, 96%)
CMYKcmyk(51%, 58%, 0%, 3.9%)
CIE-LABlab(52.16, 43.10, -69.31)
CIE-LCHlch(52.16, 81.62, 301.88°)
OKLaboklab(60.54% 0.0491 -0.1984)
OKLCHoklch(60.54% 0.204 283.9)
XYZxyz(29.0724, 20.2846, 88.7519)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867F5 #E4F567
analogous
#679DF5 #7867F5 #BF67F5
triadic
#7867F5 #F57867 #67F578
tetradic
#7867F5 #F5679D #E4F567 #67F5BF
square
#7867F5 #F5679D #E4F567 #67F5BF
split-complementary
#7867F5 #F5BF67 #9DF567
monochromatic
#260ED4 #452EF1 #7867F5 #ABA0F9 #DEDAFD

Accessibility & contrast

On white

4.15
#7867F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7867F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867F5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867F5#FFFFFF#000000##000000
##7867F51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#4788A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7867f5;
/* rgb */ color: rgb(120, 103, 245);
/* oklch */ color: oklch(60.5% 0.204 283.9);
Tailwind
colors: {
  custom: {
    50: '#a893f9',
    500: '#7867f5',
    950: '#000000',
  },
}
SCSS
$custom: #7867f5;
$custom-light: #a893f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7867f5",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 245
  },
  "hsl": {
    "h": 247.183,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.20443,
    "h": 283.9
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#7867F5
secondary
#ECF1C6
accent
#E401C9
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7867F5

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

Preview Lab → · Contrast checker → · Palette generator →

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