#7867F6#7867F6

#7867F6 is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.6% C 0.206 H 283.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7867F6
RGBrgb(120, 103, 246)
HSLhsl(247, 89%, 68%)
HSVhsv(247, 58%, 96%)
CMYKcmyk(51.2%, 58.1%, 0%, 3.5%)
CIE-LABlab(52.23, 43.40, -69.76)
CIE-LCHlch(52.23, 82.16, 301.89°)
OKLaboklab(60.61% 0.0491 -0.1998)
OKLCHoklch(60.61% 0.206 283.8)
XYZxyz(29.2255, 20.3458, 89.5581)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867F6 #E5F667
analogous
#679DF6 #7867F6 #BF67F6
triadic
#7867F6 #F67867 #67F678
tetradic
#7867F6 #F6679D #E5F667 #67F6BF
square
#7867F6 #F6679D #E5F667 #67F6BF
split-complementary
#7867F6 #F6BF67 #9DF667
monochromatic
#250DD6 #452DF3 #7867F6 #ABA1F9 #DFDBFD

Accessibility & contrast

On white

4.14
#7867F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7867F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867F6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867F6#FFFFFF#000000##000000
##7867F61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#4688A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7867f6;
/* rgb */ color: rgb(120, 103, 246);
/* oklch */ color: oklch(60.6% 0.206 283.8);
Tailwind
colors: {
  custom: {
    50: '#a893fa',
    500: '#7867f6',
    950: '#000000',
  },
}
SCSS
$custom: #7867f6;
$custom-light: #a893fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7867f6",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 246
  },
  "hsl": {
    "h": 247.133,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.2057,
    "h": 283.8
  },
  "luminance": 0.20347
}

Semantic roles & 50–950 ramp

primary
#7867F6
secondary
#EDF2C7
accent
#E500CA
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7867F6

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

Preview Lab → · Contrast checker → · Palette generator →

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