#7865DB#7865DB

#7865DB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.4% C 0.173 H 287.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7865DB
RGBrgb(120, 101, 219)
HSLhsl(250, 62%, 63%)
HSVhsv(250, 54%, 86%)
CMYKcmyk(45.2%, 53.9%, 0%, 14.1%)
CIE-LABlab(49.99, 36.68, -58.20)
CIE-LCHlch(49.99, 68.79, 302.22°)
OKLaboklab(58.39% 0.0511 -0.1658)
OKLCHoklch(58.39% 0.173 287.1)
XYZxyz(25.1819, 18.4139, 69.2315)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865DB #C8DB65
analogous
#658DDB #7865DB #B365DB
triadic
#7865DB #DB7865 #65DB78
tetradic
#7865DB #DB658D #C8DB65 #65DBB3
square
#7865DB #DB658D #C8DB65 #65DBB3
split-complementary
#7865DB #DBB365 #8DDB65
monochromatic
#3925A0 #4D33CF #7865DB #A397E7 #CFC8F2

Accessibility & contrast

On white

4.48
#7865DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7865DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865DB#FFFFFF#000000##000000
##7865DB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#2674D8
Tritanopia (blue-blind)
#597F96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7865db;
/* rgb */ color: rgb(120, 101, 219);
/* oklch */ color: oklch(58.4% 0.173 287.1);
Tailwind
colors: {
  custom: {
    50: '#a591e7',
    500: '#7865db',
    950: '#000000',
  },
}
SCSS
$custom: #7865db;
$custom-light: #a591e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7865db",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 249.661,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.17348,
    "h": 287.1
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#7865DB
secondary
#DCE3B9
accent
#CA1CAE
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7865DB

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

Preview Lab → · Contrast checker → · Palette generator →

#7865DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva