#765BCB#765BCB

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

Color values

HEX#765BCB
RGBrgb(118, 91, 203)
HSLhsl(254, 52%, 58%)
HSVhsv(254, 55%, 80%)
CMYKcmyk(41.9%, 55.2%, 0%, 20.4%)
CIE-LABlab(46.51, 37.52, -54.68)
CIE-LCHlch(46.51, 66.32, 304.46°)
OKLaboklab(55.44% 0.0599 -0.1555)
OKLCHoklch(55.44% 0.167 291.1)
XYZxyz(21.9888, 15.6448, 58.3495)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BCB #B0CB5B
analogous
#5B78CB #765BCB #AE5BCB
triadic
#765BCB #CB765B #5BCB76
tetradic
#765BCB #CB5B78 #B0CB5B #5BCBAE
square
#765BCB #CB5B78 #B0CB5B #5BCBAE
split-complementary
#765BCB #CBAE5B #78CB5B
monochromatic
#3F2982 #5538B1 #765BCB #9D89DA #C4B8E8

Accessibility & contrast

On white

5.09
#765BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#765BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BCB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BCB#FFFFFF#000000##FFFFFF
##765BCB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#5E738A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765bcb;
/* rgb */ color: rgb(118, 91, 203);
/* oklch */ color: oklch(55.4% 0.167 291.1);
Tailwind
colors: {
  custom: {
    50: '#a28adb',
    500: '#765bcb',
    950: '#000000',
  },
}
SCSS
$custom: #765bcb;
$custom-light: #a28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#765bcb",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 254.464,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.16668,
    "h": 291.1
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#765BCB
secondary
#CDD7AA
accent
#DB4CB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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