#7867F2#7867F2

#7867F2 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.3% C 0.201 H 284.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7867F2
RGBrgb(120, 103, 242)
HSLhsl(247, 84%, 68%)
HSVhsv(247, 57%, 95%)
CMYKcmyk(50.4%, 57.4%, 0%, 5.1%)
CIE-LABlab(51.95, 42.22, -67.97)
CIE-LCHlch(51.95, 80.02, 301.85°)
OKLaboklab(60.32% 0.0492 -0.1945)
OKLCHoklch(60.32% 0.201 284.2)
XYZxyz(28.6182, 20.1029, 86.3595)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867F2 #E1F267
analogous
#679CF2 #7867F2 #BD67F2
triadic
#7867F2 #F27867 #67F278
tetradic
#7867F2 #F2679C #E1F267 #67F2BD
square
#7867F2 #F2679C #E1F267 #67F2BD
split-complementary
#7867F2 #F2BD67 #9CF267
monochromatic
#2812CD #462FED #7867F2 #AA9FF7 #DCD8FC

Accessibility & contrast

On white

4.18
#7867F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7867F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867F2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867F2#FFFFFF#000000##000000
##7867F21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#4987A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7867f2;
/* rgb */ color: rgb(120, 103, 242);
/* oklch */ color: oklch(60.3% 0.201 284.2);
Tailwind
colors: {
  custom: {
    50: '#a793f7',
    500: '#7867f2',
    950: '#000000',
  },
}
SCSS
$custom: #7867f2;
$custom-light: #a793f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7867f2",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 247.338,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.20062,
    "h": 284.2
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#7867F2
secondary
#EBF0C5
accent
#E105C6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7867F2

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

Preview Lab → · Contrast checker → · Palette generator →

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