#7865CA#7865CA

#7865CA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.3% C 0.151 H 289.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7865CA
RGBrgb(120, 101, 202)
HSLhsl(251, 49%, 59%)
HSVhsv(251, 50%, 79%)
CMYKcmyk(40.6%, 50%, 0%, 20.8%)
CIE-LABlab(48.96, 31.82, -50.16)
CIE-LCHlch(48.96, 59.40, 302.39°)
OKLaboklab(57.29% 0.0501 -0.1422)
OKLCHoklch(57.29% 0.151 289.4)
XYZxyz(23.0571, 17.5640, 58.0410)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865CA #B7CA65
analogous
#6585CA #7865CA #AB65CA
triadic
#7865CA #CA7865 #65CA78
tetradic
#7865CA #CA6585 #B7CA65 #65CAAB
square
#7865CA #CA6585 #B7CA65 #65CAAB
split-complementary
#7865CA #CAAB65 #85CA65
monochromatic
#3F2E86 #543EB4 #7865CA #A093DA #C8C0E9

Accessibility & contrast

On white

4.65
#7865CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7865CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7865CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865CA#FFFFFF#000000##FFFFFF
##7865CA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#617A8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7865ca;
/* rgb */ color: rgb(120, 101, 202);
/* oklch */ color: oklch(57.3% 0.151 289.4);
Tailwind
colors: {
  custom: {
    50: '#a391db',
    500: '#7865ca',
    950: '#000000',
  },
}
SCSS
$custom: #7865ca;
$custom-light: #a391db;
$custom-dark: #000000;
JSON
{
  "hex": "#7865ca",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 251.287,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.15073,
    "h": 289.4
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#7865CA
secondary
#D2D9B2
accent
#D84FBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83

Preview Lab

Preview with #7865CA

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

Preview Lab → · Contrast checker → · Palette generator →

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