#765CC7#765CC7

#765CC7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.3% C 0.160 H 291.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#765CC7
RGBrgb(118, 92, 199)
HSLhsl(255, 49%, 57%)
HSVhsv(255, 54%, 78%)
CMYKcmyk(40.7%, 53.8%, 0%, 22%)
CIE-LABlab(46.48, 35.82, -52.42)
CIE-LCHlch(46.48, 63.48, 304.35°)
OKLaboklab(55.34% 0.0586 -0.1489)
OKLCHoklch(55.34% 0.16 291.5)
XYZxyz(21.6044, 15.6287, 55.9001)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CC7 #ADC75C
analogous
#5C78C7 #765CC7 #AB5CC7
triadic
#765CC7 #C7765C #5CC776
tetradic
#765CC7 #C75C78 #ADC75C #5CC7AB
square
#765CC7 #C75C78 #ADC75C #5CC7AB
split-complementary
#765CC7 #C7AB5C #78C75C
monochromatic
#3F2B7D #563BAB #765CC7 #9C8AD7 #C3B7E6

Accessibility & contrast

On white

5.09
#765CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#765CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CC7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CC7#FFFFFF#000000##FFFFFF
##765CC71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#607289
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765cc7;
/* rgb */ color: rgb(118, 92, 199);
/* oklch */ color: oklch(55.3% 0.160 291.5);
Tailwind
colors: {
  custom: {
    50: '#a28bd9',
    500: '#765cc7',
    950: '#000000',
  },
}
SCSS
$custom: #765cc7;
$custom-light: #a28bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#765cc7",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 254.579,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.15998,
    "h": 291.5
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#765CC7
secondary
#CBD5AA
accent
#D84FB7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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