#765DB2#765DB2

#765DB2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.2% C 0.130 H 295.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#765DB2
RGBrgb(118, 93, 178)
HSLhsl(258, 36%, 53%)
HSVhsv(258, 48%, 70%)
CMYKcmyk(33.7%, 47.8%, 0%, 30.2%)
CIE-LABlab(45.49, 29.45, -41.81)
CIE-LCHlch(45.49, 51.14, 305.16°)
OKLaboklab(54.2% 0.0556 -0.1178)
OKLCHoklch(54.2% 0.13 295.3)
XYZxyz(19.4194, 14.8943, 43.9626)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DB2 #99B25D
analogous
#5D6EB2 #765DB2 #A05DB2
triadic
#765DB2 #B2765D #5DB276
tetradic
#765DB2 #B25D6E #99B25D #5DB2A0
square
#765DB2 #B25D6E #99B25D #5DB2A0
split-complementary
#765DB2 #B2A05D #6EB25D
monochromatic
#3F3065 #5A448E #765DB2 #9986C6 #BCB0D9

Accessibility & contrast

On white

5.28
#765DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#765DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DB2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DB2#FFFFFF#000000##FFFFFF
##765DB21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#686D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765db2;
/* rgb */ color: rgb(118, 93, 178);
/* oklch */ color: oklch(54.2% 0.130 295.3);
Tailwind
colors: {
  custom: {
    50: '#a08bc9',
    500: '#765db2',
    950: '#000000',
  },
}
SCSS
$custom: #765db2;
$custom-light: #a08bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#765db2",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 257.647,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.13022,
    "h": 295.3
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#765DB2
secondary
#BDC8A3
accent
#CC5CAB
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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