#765FC5#765FC5

#765FC5 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.153 H 291.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#765FC5
RGBrgb(118, 95, 197)
HSLhsl(254, 47%, 57%)
HSVhsv(254, 52%, 77%)
CMYKcmyk(40.1%, 51.8%, 0%, 22.7%)
CIE-LABlab(47.06, 33.49, -50.34)
CIE-LCHlch(47.06, 60.46, 303.64°)
OKLaboklab(55.73% 0.0548 -0.1427)
OKLCHoklch(55.73% 0.153 291)
XYZxyz(21.6387, 16.0666, 54.7736)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FC5 #AEC55F
analogous
#5F7BC5 #765FC5 #A95FC5
triadic
#765FC5 #C5765F #5FC576
tetradic
#765FC5 #C55F7B #AEC55F #5FC5A9
square
#765FC5 #C55F7B #AEC55F #5FC5A9
split-complementary
#765FC5 #C5A95F #7BC55F
monochromatic
#3F2D7C #563DA9 #765FC5 #9C8CD5 #C3B9E6

Accessibility & contrast

On white

4.98
#765FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#765FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FC5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FC5#FFFFFF#000000##FFFFFF
##765FC51.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3371C9
Deuteranopia (green-blind)
#376DC3
Tritanopia (blue-blind)
#617489
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765fc5;
/* rgb */ color: rgb(118, 95, 197);
/* oklch */ color: oklch(55.7% 0.153 291.0);
Tailwind
colors: {
  custom: {
    50: '#a28dd7',
    500: '#765fc5',
    950: '#000000',
  },
}
SCSS
$custom: #765fc5;
$custom-light: #a28dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#765fc5",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 253.529,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.15289,
    "h": 291
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#765FC5
secondary
#CBD5AB
accent
#D651B8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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