#765FBF#765FBF

#765FBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.145 H 292.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#765FBF
RGBrgb(118, 95, 191)
HSLhsl(254, 43%, 56%)
HSVhsv(254, 50%, 75%)
CMYKcmyk(38.2%, 50.3%, 0%, 25.1%)
CIE-LABlab(46.71, 31.81, -47.43)
CIE-LCHlch(46.71, 57.12, 303.85°)
OKLaboklab(55.36% 0.0543 -0.1342)
OKLCHoklch(55.36% 0.145 292)
XYZxyz(20.9649, 15.7970, 51.2247)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FBF #A8BF5F
analogous
#5F78BF #765FBF #A65FBF
triadic
#765FBF #BF765F #5FBF76
tetradic
#765FBF #BF5F78 #A8BF5F #5FBFA6
square
#765FBF #BF5F78 #A8BF5F #5FBFA6
split-complementary
#765FBF #BFA65F #78BF5F
monochromatic
#402F75 #5740A1 #765FBF #9B8BD0 #C1B6E2

Accessibility & contrast

On white

5.05
#765FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#765FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FBF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FBF#FFFFFF#000000##FFFFFF
##765FBF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#637286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765fbf;
/* rgb */ color: rgb(118, 95, 191);
/* oklch */ color: oklch(55.4% 0.145 292.0);
Tailwind
colors: {
  custom: {
    50: '#a18dd3',
    500: '#765fbf',
    950: '#000000',
  },
}
SCSS
$custom: #765fbf;
$custom-light: #a18dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#765fbf",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 254.375,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.14481,
    "h": 292
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#765FBF
secondary
#C7D1A9
accent
#D355B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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