#765BC1#765BC1

#765BC1 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.154 H 292.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#765BC1
RGBrgb(118, 91, 193)
HSLhsl(256, 45%, 56%)
HSVhsv(256, 53%, 76%)
CMYKcmyk(38.9%, 52.8%, 0%, 24.3%)
CIE-LABlab(45.88, 34.74, -49.91)
CIE-LCHlch(45.88, 60.81, 304.84°)
OKLaboklab(54.78% 0.0596 -0.1415)
OKLCHoklch(54.78% 0.154 292.8)
XYZxyz(20.8354, 15.1835, 52.2747)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC1 #A6C15B
analogous
#5B73C1 #765BC1 #A95BC1
triadic
#765BC1 #C1765B #5BC176
tetradic
#765BC1 #C15B73 #A6C15B #5BC1A9
square
#765BC1 #C15B73 #A6C15B #5BC1A9
split-complementary
#765BC1 #C1A95B #73C15B
monochromatic
#402C75 #583DA2 #765BC1 #9B87D2 #C0B4E3

Accessibility & contrast

On white

5.20
#765BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#765BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BC1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC1#FFFFFF#000000##FFFFFF
##765BC11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC5
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#637085
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765bc1;
/* rgb */ color: rgb(118, 91, 193);
/* oklch */ color: oklch(54.8% 0.154 292.8);
Tailwind
colors: {
  custom: {
    50: '#a28ad4',
    500: '#765bc1',
    950: '#000000',
  },
}
SCSS
$custom: #765bc1;
$custom-light: #a28ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc1",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 255.882,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.15352,
    "h": 292.8
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#765BC1
secondary
#C6D1A7
accent
#D553B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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