#765DC2#765DC2

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

Color values

HEX#765DC2
RGBrgb(118, 93, 194)
HSLhsl(255, 45%, 56%)
HSVhsv(255, 52%, 76%)
CMYKcmyk(39.2%, 52.1%, 0%, 23.9%)
CIE-LABlab(46.41, 33.83, -49.64)
CIE-LCHlch(46.41, 60.08, 304.28°)
OKLaboklab(55.19% 0.0571 -0.1407)
OKLCHoklch(55.19% 0.152 292.1)
XYZxyz(21.1206, 15.5747, 52.9219)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DC2 #A9C25D
analogous
#5D77C2 #765DC2 #A85DC2
triadic
#765DC2 #C2765D #5DC276
tetradic
#765DC2 #C25D77 #A9C25D #5DC2A8
square
#765DC2 #C25D77 #A9C25D #5DC2A8
split-complementary
#765DC2 #C2A85D #77C25D
monochromatic
#3F2D78 #573EA4 #765DC2 #9C89D3 #C1B6E3

Accessibility & contrast

On white

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

On black

4.11
#765DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##765DC2#FFFFFF#000000##FFFFFF
##765DC21.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326FC6
Deuteranopia (green-blind)
#376CC0
Tritanopia (blue-blind)
#627287
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765dc2;
/* rgb */ color: rgb(118, 93, 194);
/* oklch */ color: oklch(55.2% 0.152 292.1);
Tailwind
colors: {
  custom: {
    50: '#a18bd5',
    500: '#765dc2',
    950: '#000000',
  },
}
SCSS
$custom: #765dc2;
$custom-light: #a18bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#765dc2",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 254.851,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55192,
    "c": 0.15186,
    "h": 292.1
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

primary
#765DC2
secondary
#C8D2A9
accent
#D553B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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