#7865CD#7865CD

#7865CD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.5% C 0.155 H 289.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7865CD
RGBrgb(120, 101, 205)
HSLhsl(251, 51%, 60%)
HSVhsv(251, 51%, 80%)
CMYKcmyk(41.5%, 50.7%, 0%, 19.6%)
CIE-LABlab(49.14, 32.67, -51.60)
CIE-LCHlch(49.14, 61.07, 302.34°)
OKLaboklab(57.48% 0.0504 -0.1464)
OKLCHoklch(57.48% 0.155 289)
XYZxyz(23.4158, 17.7074, 59.9299)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865CD #BACD65
analogous
#6586CD #7865CD #AC65CD
triadic
#7865CD #CD7865 #65CD78
tetradic
#7865CD #CD6586 #BACD65 #65CDAC
square
#7865CD #CD6586 #BACD65 #65CDAC
split-complementary
#7865CD #CDAC65 #86CD65
monochromatic
#3E2D8B #533CB9 #7865CD #A193DC #C9C1EB

Accessibility & contrast

On white

4.62
#7865CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7865CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7865CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865CD#FFFFFF#000000##FFFFFF
##7865CD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#3A72CB
Tritanopia (blue-blind)
#607B8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7865cd;
/* rgb */ color: rgb(120, 101, 205);
/* oklch */ color: oklch(57.5% 0.155 289.0);
Tailwind
colors: {
  custom: {
    50: '#a391dd',
    500: '#7865cd',
    950: '#000000',
  },
}
SCSS
$custom: #7865cd;
$custom-light: #a391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7865cd",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 250.962,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.57481,
    "c": 0.15479,
    "h": 289
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#7865CD
secondary
#D4DBB3
accent
#DA4DC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7865CD

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

Preview Lab → · Contrast checker → · Palette generator →

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