#7868DD#7868DD

#7868DD is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.0% C 0.172 H 286.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7868DD
RGBrgb(120, 104, 221)
HSLhsl(248, 63%, 64%)
HSVhsv(248, 53%, 87%)
CMYKcmyk(45.7%, 52.9%, 0%, 13.3%)
CIE-LABlab(50.82, 35.49, -58.00)
CIE-LCHlch(50.82, 68.00, 301.46°)
OKLaboklab(59.05% 0.0477 -0.1652)
OKLCHoklch(59.05% 0.172 286.1)
XYZxyz(25.7434, 19.1131, 70.7254)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868DD #CDDD68
analogous
#6892DD #7868DD #B268DD
triadic
#7868DD #DD7868 #68DD78
tetradic
#7868DD #DD6892 #CDDD68 #68DDB2
square
#7868DD #DD6892 #CDDD68 #68DDB2
split-complementary
#7868DD #DDB268 #92DD68
monochromatic
#3725A5 #4B36D2 #7868DD #A59AE8 #D1CCF3

Accessibility & contrast

On white

4.35
#7868DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7868DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868DD#FFFFFF#000000##000000
##7868DD1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE1
Deuteranopia (green-blind)
#2A76DA
Tritanopia (blue-blind)
#578199
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7868dd;
/* rgb */ color: rgb(120, 104, 221);
/* oklch */ color: oklch(59.0% 0.172 286.1);
Tailwind
colors: {
  custom: {
    50: '#a593e8',
    500: '#7868dd',
    950: '#000000',
  },
}
SCSS
$custom: #7868dd;
$custom-light: #a593e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7868dd",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 248.205,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.17194,
    "h": 286.1
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#7868DD
secondary
#DFE5BC
accent
#CB1AB3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7868DD

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

Preview Lab → · Contrast checker → · Palette generator →

#7868DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva