#765AA2#765AA2

#765AA2 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.7% C 0.113 H 300.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#765AA2
RGBrgb(118, 90, 162)
HSLhsl(263, 29%, 49%)
HSVhsv(263, 44%, 64%)
CMYKcmyk(27.2%, 44.4%, 0%, 36.5%)
CIE-LABlab(43.90, 27.04, -34.89)
CIE-LCHlch(43.90, 44.14, 307.77°)
OKLaboklab(52.74% 0.0575 -0.0976)
OKLCHoklch(52.74% 0.113 300.5)
XYZxyz(17.6475, 13.7724, 35.9040)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AA2 #86A25A
analogous
#5A62A2 #765AA2 #9A5AA2
triadic
#765AA2 #A2765A #5AA276
tetradic
#765AA2 #A25A62 #86A25A #5AA29A
square
#765AA2 #A25A62 #86A25A #5AA29A
split-complementary
#765AA2 #A29A5A #62A25A
monochromatic
#3D2E53 #59447B #765AA2 #9680B9 #B7A8CF

Accessibility & contrast

On white

5.59
#765AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#765AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AA2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AA2#FFFFFF#000000##FFFFFF
##765AA21.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#6E6776
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #765aa2;
/* rgb */ color: rgb(118, 90, 162);
/* oklch */ color: oklch(52.7% 0.113 300.5);
Tailwind
colors: {
  custom: {
    50: '#9f89be',
    500: '#765aa2',
    950: '#000000',
  },
}
SCSS
$custom: #765aa2;
$custom-light: #9f89be;
$custom-dark: #000000;
JSON
{
  "hex": "#765aa2",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 263.333,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.11328,
    "h": 300.5
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#765AA2
secondary
#B0BD9B
accent
#C5639F
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0B12
muted
#7E7C81

Preview Lab

Preview with #765AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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