#765CD7#765CD7

#765CD7 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.181 H 289.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#765CD7
RGBrgb(118, 92, 215)
HSLhsl(253, 61%, 60%)
HSVhsv(253, 57%, 84%)
CMYKcmyk(45.1%, 57.2%, 0%, 15.7%)
CIE-LABlab(47.51, 40.34, -59.94)
CIE-LCHlch(47.51, 72.25, 303.94°)
OKLaboklab(56.43% 0.0589 -0.171)
OKLCHoklch(56.43% 0.181 289)
XYZxyz(23.5606, 16.4113, 66.2031)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CD7 #BDD75C
analogous
#5C7FD7 #765CD7 #B35CD7
triadic
#765CD7 #D7765C #5CD776
tetradic
#765CD7 #D75C7F #BDD75C #5CD7B3
square
#765CD7 #D75C7F #BDD75C #5CD7B3
split-complementary
#765CD7 #D7B35C #7FD75C
monochromatic
#3C2494 #5030C5 #765CD7 #9F8DE3 #C9BEEF

Accessibility & contrast

On white

4.90
#765CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#765CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CD7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CD7#FFFFFF#000000##FFFFFF
##765CD71.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#0C6ED4
Tritanopia (blue-blind)
#587791
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765cd7;
/* rgb */ color: rgb(118, 92, 215);
/* oklch */ color: oklch(56.4% 0.181 289.0);
Tailwind
colors: {
  custom: {
    50: '#a48be4',
    500: '#765cd7',
    950: '#000000',
  },
}
SCSS
$custom: #765cd7;
$custom-light: #a48be4;
$custom-dark: #000000;
JSON
{
  "hex": "#765cd7",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 252.683,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.18082,
    "h": 289
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#765CD7
secondary
#D5DFB0
accent
#C81DA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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