#765FA1#765FA1

#765FA1 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.6% C 0.103 H 298.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#765FA1
RGBrgb(118, 95, 161)
HSLhsl(261, 26%, 50%)
HSVhsv(261, 41%, 63%)
CMYKcmyk(26.7%, 41%, 0%, 36.9%)
CIE-LABlab(45.09, 23.77, -32.43)
CIE-LCHlch(45.09, 40.20, 306.24°)
OKLaboklab(53.62% 0.05 -0.0905)
OKLCHoklch(53.62% 0.103 298.9)
XYZxyz(17.9950, 14.6091, 35.5831)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FA1 #8AA15F
analogous
#5F69A1 #765FA1 #975FA1
triadic
#765FA1 #A1765F #5FA176
tetradic
#765FA1 #A15F69 #8AA15F #5FA197
square
#765FA1 #A15F69 #8AA15F #5FA197
split-complementary
#765FA1 #A1975F #69A15F
monochromatic
#3E3154 #5A487B #765FA1 #9786B8 #B8ACCE

Accessibility & contrast

On white

5.35
#765FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#765FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FA1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FA1#FFFFFF#000000##FFFFFF
##765FA11.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA3
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#6E6A78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765fa1;
/* rgb */ color: rgb(118, 95, 161);
/* oklch */ color: oklch(53.6% 0.103 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f8cbd',
    500: '#765fa1',
    950: '#000000',
  },
}
SCSS
$custom: #765fa1;
$custom-light: #9f8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#765fa1",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 260.909,
    "s": 25.984,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.10337,
    "h": 298.9
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#765FA1
secondary
#B2BD9F
accent
#C265A2
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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