#7867FA#7867FA

#7867FA is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.9% C 0.211 H 283.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7867FA
RGBrgb(120, 103, 250)
HSLhsl(247, 94%, 69%)
HSVhsv(247, 59%, 98%)
CMYKcmyk(52%, 58.8%, 0%, 2%)
CIE-LABlab(52.50, 44.58, -71.53)
CIE-LCHlch(52.50, 84.29, 301.93°)
OKLaboklab(60.9% 0.049 -0.205)
OKLCHoklch(60.9% 0.211 283.4)
XYZxyz(29.8461, 20.5940, 92.8263)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867FA #E9FA67
analogous
#67A0FA #7867FA #C267FA
triadic
#7867FA #FA7867 #67FA78
tetradic
#7867FA #FA67A0 #E9FA67 #67FAC2
square
#7867FA #FA67A0 #E9FA67 #67FAC2
split-complementary
#7867FA #FAC267 #A0FA67
monochromatic
#2007DF #432CF8 #7867FA #ADA2FC #E1DEFE

Accessibility & contrast

On white

4.10
#7867FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7867FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867FA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867FA#FFFFFF#000000##000000
##7867FA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078F7
Tritanopia (blue-blind)
#428AA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7867fa;
/* rgb */ color: rgb(120, 103, 250);
/* oklch */ color: oklch(60.9% 0.211 283.4);
Tailwind
colors: {
  custom: {
    50: '#a893fd',
    500: '#7867fa',
    950: '#000000',
  },
}
SCSS
$custom: #7867fa;
$custom-light: #a893fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7867fa",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 250
  },
  "hsl": {
    "h": 246.939,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.609,
    "c": 0.21076,
    "h": 283.4
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#7867FA
secondary
#EFF4C9
accent
#E600CB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7867FA

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

Preview Lab → · Contrast checker → · Palette generator →

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