#765BCA#765BCA

#765BCA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.165 H 291.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#765BCA
RGBrgb(118, 91, 202)
HSLhsl(255, 51%, 57%)
HSVhsv(255, 55%, 79%)
CMYKcmyk(41.6%, 55%, 0%, 20.8%)
CIE-LABlab(46.44, 37.24, -54.21)
CIE-LCHlch(46.44, 65.77, 304.49°)
OKLaboklab(55.37% 0.0599 -0.1541)
OKLCHoklch(55.37% 0.165 291.2)
XYZxyz(21.8700, 15.5973, 57.7240)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BCA #AFCA5B
analogous
#5B77CA #765BCA #AE5BCA
triadic
#765BCA #CA765B #5BCA76
tetradic
#765BCA #CA5B77 #AFCA5B #5BCAAE
square
#765BCA #CA5B77 #AFCA5B #5BCAAE
split-complementary
#765BCA #CAAE5B #77CA5B
monochromatic
#3F2A81 #5539AF #765BCA #9D89D9 #C3B8E8

Accessibility & contrast

On white

5.10
#765BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#765BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BCA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BCA#FFFFFF#000000##FFFFFF
##765BCA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#5F738A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765bca;
/* rgb */ color: rgb(118, 91, 202);
/* oklch */ color: oklch(55.4% 0.165 291.2);
Tailwind
colors: {
  custom: {
    50: '#a28adb',
    500: '#765bca',
    950: '#000000',
  },
}
SCSS
$custom: #765bca;
$custom-light: #a28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#765bca",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 254.595,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.16538,
    "h": 291.2
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

primary
#765BCA
secondary
#CCD7AA
accent
#DB4DB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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