#765BC3#765BC3

#765BC3 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.156 H 292.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#765BC3
RGBrgb(118, 91, 195)
HSLhsl(256, 46%, 56%)
HSVhsv(256, 53%, 76%)
CMYKcmyk(39.5%, 53.3%, 0%, 23.5%)
CIE-LABlab(46.01, 35.29, -50.87)
CIE-LCHlch(46.01, 61.91, 304.75°)
OKLaboklab(54.91% 0.0597 -0.1443)
OKLCHoklch(54.91% 0.156 292.5)
XYZxyz(21.0600, 15.2733, 53.4576)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC3 #A8C35B
analogous
#5B74C3 #765BC3 #AA5BC3
triadic
#765BC3 #C3765B #5BC376
tetradic
#765BC3 #C35B74 #A8C35B #5BC3AA
square
#765BC3 #C35B74 #A8C35B #5BC3AA
split-complementary
#765BC3 #C3AA5B #74C35B
monochromatic
#402C78 #573CA5 #765BC3 #9B88D3 #C1B5E4

Accessibility & contrast

On white

5.18
#765BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#765BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BC3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC3#FFFFFF#000000##FFFFFF
##765BC31.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC7
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#627186
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765bc3;
/* rgb */ color: rgb(118, 91, 195);
/* oklch */ color: oklch(54.9% 0.156 292.5);
Tailwind
colors: {
  custom: {
    50: '#a28ad6',
    500: '#765bc3',
    950: '#000000',
  },
}
SCSS
$custom: #765bc3;
$custom-light: #a28ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc3",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 255.577,
    "s": 46.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.15617,
    "h": 292.5
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#765BC3
secondary
#C7D2A7
accent
#D652B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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