#7865DA#7865DA

#7865DA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.3% C 0.172 H 287.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7865DA
RGBrgb(120, 101, 218)
HSLhsl(250, 61%, 63%)
HSVhsv(250, 54%, 85%)
CMYKcmyk(45%, 53.7%, 0%, 14.5%)
CIE-LABlab(49.93, 36.39, -57.73)
CIE-LCHlch(49.93, 68.24, 302.22°)
OKLaboklab(58.33% 0.0511 -0.1644)
OKLCHoklch(58.33% 0.172 287.3)
XYZxyz(25.0507, 18.3614, 68.5403)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865DA #C7DA65
analogous
#658CDA #7865DA #B365DA
triadic
#7865DA #DA7865 #65DA78
tetradic
#7865DA #DA658C #C7DA65 #65DAB3
square
#7865DA #DA658C #C7DA65 #65DAB3
split-complementary
#7865DA #DAB365 #8CDA65
monochromatic
#3A269F #4D34CE #7865DA #A396E6 #CFC8F2

Accessibility & contrast

On white

4.49
#7865DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7865DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865DA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865DA#FFFFFF#000000##000000
##7865DA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#2874D7
Tritanopia (blue-blind)
#597E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7865da;
/* rgb */ color: rgb(120, 101, 218);
/* oklch */ color: oklch(58.3% 0.172 287.3);
Tailwind
colors: {
  custom: {
    50: '#a591e6',
    500: '#7865da',
    950: '#000000',
  },
}
SCSS
$custom: #7865da;
$custom-light: #a591e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7865da",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 249.744,
    "s": 61.257,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.17216,
    "h": 287.3
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#7865DA
secondary
#DCE3B8
accent
#C91DAD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7865DA

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

Preview Lab → · Contrast checker → · Palette generator →

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