#765FA2#765FA2

#765FA2 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.7% C 0.105 H 298.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#765FA2
RGBrgb(118, 95, 162)
HSLhsl(261, 26%, 50%)
HSVhsv(261, 41%, 64%)
CMYKcmyk(27.2%, 41.4%, 0%, 36.5%)
CIE-LABlab(45.14, 24.03, -32.94)
CIE-LCHlch(45.14, 40.77, 306.11°)
OKLaboklab(53.67% 0.0502 -0.092)
OKLCHoklch(53.67% 0.105 298.6)
XYZxyz(18.0835, 14.6445, 36.0494)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FA2 #8BA25F
analogous
#5F69A2 #765FA2 #975FA2
triadic
#765FA2 #A2765F #5FA276
tetradic
#765FA2 #A25F69 #8BA25F #5FA297
square
#765FA2 #A25F69 #8BA25F #5FA297
split-complementary
#765FA2 #A2975F #69A25F
monochromatic
#3E3155 #5A487C #765FA2 #9786B8 #B8ACCF

Accessibility & contrast

On white

5.34
#765FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#765FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FA2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FA2#FFFFFF#000000##FFFFFF
##765FA21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#6D6B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765fa2;
/* rgb */ color: rgb(118, 95, 162);
/* oklch */ color: oklch(53.7% 0.105 298.6);
Tailwind
colors: {
  custom: {
    50: '#9f8cbe',
    500: '#765fa2',
    950: '#000000',
  },
}
SCSS
$custom: #765fa2;
$custom-light: #9f8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#765fa2",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 260.597,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.10477,
    "h": 298.6
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#765FA2
secondary
#B3BD9F
accent
#C365A3
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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