#765DC7#765DC7

#765DC7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.159 H 291.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#765DC7
RGBrgb(118, 93, 199)
HSLhsl(254, 49%, 57%)
HSVhsv(254, 53%, 78%)
CMYKcmyk(40.7%, 53.3%, 0%, 22%)
CIE-LABlab(46.72, 35.23, -52.04)
CIE-LCHlch(46.72, 62.85, 304.10°)
OKLaboklab(55.52% 0.0574 -0.1478)
OKLCHoklch(55.52% 0.159 291.2)
XYZxyz(21.6916, 15.8031, 55.9292)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DC7 #AEC75D
analogous
#5D79C7 #765DC7 #AB5DC7
triadic
#765DC7 #C7765D #5DC776
tetradic
#765DC7 #C75D79 #AEC75D #5DC7AB
square
#765DC7 #C75D79 #AEC75D #5DC7AB
split-complementary
#765DC7 #C7AB5D #79C75D
monochromatic
#3F2C7E #563BAC #765DC7 #9C8AD7 #C3B8E6

Accessibility & contrast

On white

5.05
#765DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#765DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DC7#FFFFFF#000000##FFFFFF
##765DC71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D70CB
Deuteranopia (green-blind)
#316CC5
Tritanopia (blue-blind)
#607389
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765dc7;
/* rgb */ color: rgb(118, 93, 199);
/* oklch */ color: oklch(55.5% 0.159 291.2);
Tailwind
colors: {
  custom: {
    50: '#a28bd9',
    500: '#765dc7',
    950: '#000000',
  },
}
SCSS
$custom: #765dc7;
$custom-light: #a28bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#765dc7",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 254.151,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.15852,
    "h": 291.2
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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