#765FA8#765FA8

#765FA8 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 54.0% C 0.113 H 297.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#765FA8
RGBrgb(118, 95, 168)
HSLhsl(259, 30%, 52%)
HSVhsv(259, 43%, 66%)
CMYKcmyk(29.8%, 43.5%, 0%, 34.1%)
CIE-LABlab(45.45, 25.59, -36.00)
CIE-LCHlch(45.45, 44.17, 305.40°)
OKLaboklab(54% 0.0513 -0.1008)
OKLCHoklch(54% 0.113 297)
XYZxyz(18.6296, 14.8629, 38.9255)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FA8 #91A85F
analogous
#5F6DA8 #765FA8 #9B5FA8
triadic
#765FA8 #A8765F #5FA876
tetradic
#765FA8 #A85F6D #91A85F #5FA89B
square
#765FA8 #A85F6D #91A85F #5FA89B
split-complementary
#765FA8 #A89B5F #6DA85F
monochromatic
#3F325B #5A4783 #765FA8 #9887BE #BAAED3

Accessibility & contrast

On white

5.29
#765FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#765FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FA8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FA8#FFFFFF#000000##FFFFFF
##765FA81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#6C6C7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765fa8;
/* rgb */ color: rgb(118, 95, 168);
/* oklch */ color: oklch(54.0% 0.113 297.0);
Tailwind
colors: {
  custom: {
    50: '#9f8cc2',
    500: '#765fa8',
    950: '#000000',
  },
}
SCSS
$custom: #765fa8;
$custom-light: #9f8cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#765fa8",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 258.904,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53998,
    "c": 0.11316,
    "h": 297
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#765FA8
secondary
#B7C1A1
accent
#C662A6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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