#765DC5#765DC5

#765DC5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.156 H 291.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#765DC5
RGBrgb(118, 93, 197)
HSLhsl(254, 47%, 57%)
HSVhsv(254, 53%, 77%)
CMYKcmyk(40.1%, 52.8%, 0%, 22.7%)
CIE-LABlab(46.59, 34.67, -51.09)
CIE-LCHlch(46.59, 61.74, 304.16°)
OKLaboklab(55.39% 0.0573 -0.145)
OKLCHoklch(55.39% 0.156 291.6)
XYZxyz(21.4609, 15.7109, 54.7143)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DC5 #ACC55D
analogous
#5D78C5 #765DC5 #AA5DC5
triadic
#765DC5 #C5765D #5DC576
tetradic
#765DC5 #C55D78 #ACC55D #5DC5AA
square
#765DC5 #C55D78 #ACC55D #5DC5AA
split-complementary
#765DC5 #C5AA5D #78C55D
monochromatic
#3F2C7B #563CA8 #765DC5 #9C8AD5 #C2B7E5

Accessibility & contrast

On white

5.07
#765DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#765DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DC5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DC5#FFFFFF#000000##FFFFFF
##765DC51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#336CC3
Tritanopia (blue-blind)
#617388
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765dc5;
/* rgb */ color: rgb(118, 93, 197);
/* oklch */ color: oklch(55.4% 0.156 291.6);
Tailwind
colors: {
  custom: {
    50: '#a28bd7',
    500: '#765dc5',
    950: '#000000',
  },
}
SCSS
$custom: #765dc5;
$custom-light: #a28bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#765dc5",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 254.423,
    "s": 47.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.15586,
    "h": 291.6
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#765DC5
secondary
#CAD4AA
accent
#D751B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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