#765FCF#765FCF

#765FCF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.166 H 289.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#765FCF
RGBrgb(118, 95, 207)
HSLhsl(252, 54%, 59%)
HSVhsv(252, 54%, 81%)
CMYKcmyk(43%, 54.1%, 0%, 18.8%)
CIE-LABlab(47.68, 36.31, -55.10)
CIE-LCHlch(47.68, 65.99, 303.39°)
OKLaboklab(56.39% 0.0553 -0.1567)
OKLCHoklch(56.39% 0.166 289.4)
XYZxyz(22.8228, 16.5402, 61.0095)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FCF #B8CF5F
analogous
#5F80CF #765FCF #AE5FCF
triadic
#765FCF #CF765F #5FCF76
tetradic
#765FCF #CF5F80 #B8CF5F #5FCFAE
square
#765FCF #CF5F80 #B8CF5F #5FCFAE
split-complementary
#765FCF #CFAE5F #80CF5F
monochromatic
#3D298A #5238B9 #765FCF #9E8EDD #C7BDEB

Accessibility & contrast

On white

4.87
#765FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#765FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FCF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FCF#FFFFFF#000000##FFFFFF
##765FCF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#2A6ECD
Tritanopia (blue-blind)
#5C778E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765fcf;
/* rgb */ color: rgb(118, 95, 207);
/* oklch */ color: oklch(56.4% 0.166 289.4);
Tailwind
colors: {
  custom: {
    50: '#a38dde',
    500: '#765fcf',
    950: '#000000',
  },
}
SCSS
$custom: #765fcf;
$custom-light: #a38dde;
$custom-dark: #000000;
JSON
{
  "hex": "#765fcf",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 252.321,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.16619,
    "h": 289.4
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#765FCF
secondary
#D2DBAF
accent
#DD4BBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765FCF

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

Preview Lab → · Contrast checker → · Palette generator →

#765FCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva