#765FB2#765FB2

#765FB2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.6% C 0.127 H 294.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#765FB2
RGBrgb(118, 95, 178)
HSLhsl(257, 35%, 54%)
HSVhsv(257, 47%, 70%)
CMYKcmyk(33.7%, 46.6%, 0%, 30.2%)
CIE-LABlab(45.97, 28.25, -41.03)
CIE-LCHlch(45.97, 49.82, 304.55°)
OKLaboklab(54.57% 0.0529 -0.1155)
OKLCHoklch(54.57% 0.127 294.6)
XYZxyz(19.5973, 15.2500, 44.0219)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB2 #9BB25F
analogous
#5F71B2 #765FB2 #9F5FB2
triadic
#765FB2 #B2765F #5FB276
tetradic
#765FB2 #B25F71 #9BB25F #5FB29F
square
#765FB2 #B25F71 #9BB25F #5FB29F
split-complementary
#765FB2 #B29F5F #71B25F
monochromatic
#403166 #59458F #765FB2 #9988C6 #BDB2DA

Accessibility & contrast

On white

5.19
#765FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#765FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB2#FFFFFF#000000##FFFFFF
##765FB21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#476CB0
Tritanopia (blue-blind)
#686F80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb2;
/* rgb */ color: rgb(118, 95, 178);
/* oklch */ color: oklch(54.6% 0.127 294.6);
Tailwind
colors: {
  custom: {
    50: '#a08dc9',
    500: '#765fb2',
    950: '#000000',
  },
}
SCSS
$custom: #765fb2;
$custom-light: #a08dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb2",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 256.627,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.12703,
    "h": 294.6
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#765FB2
secondary
#BEC8A5
accent
#CB5DAC
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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