#765BC2#765BC2

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

Color values

HEX#765BC2
RGBrgb(118, 91, 194)
HSLhsl(256, 46%, 56%)
HSVhsv(256, 53%, 76%)
CMYKcmyk(39.2%, 53.1%, 0%, 23.9%)
CIE-LABlab(45.95, 35.01, -50.39)
CIE-LCHlch(45.95, 61.36, 304.79°)
OKLaboklab(54.85% 0.0596 -0.1429)
OKLCHoklch(54.85% 0.155 292.6)
XYZxyz(20.9473, 15.2282, 52.8642)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC2 #A7C25B
analogous
#5B73C2 #765BC2 #A95BC2
triadic
#765BC2 #C2765B #5BC276
tetradic
#765BC2 #C25B73 #A7C25B #5BC2A9
square
#765BC2 #C25B73 #A7C25B #5BC2A9
split-complementary
#765BC2 #C2A95B #73C25B
monochromatic
#402C77 #583DA3 #765BC2 #9B88D3 #C1B4E3

Accessibility & contrast

On white

5.19
#765BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765BC2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC2#FFFFFF#000000##FFFFFF
##765BC21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#627086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765bc2;
/* rgb */ color: rgb(118, 91, 194);
/* oklch */ color: oklch(54.8% 0.155 292.6);
Tailwind
colors: {
  custom: {
    50: '#a28ad5',
    500: '#765bc2',
    950: '#000000',
  },
}
SCSS
$custom: #765bc2;
$custom-light: #a28ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc2",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 255.728,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.15485,
    "h": 292.6
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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