#765FBD#765FBD

#765FBD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.2% C 0.142 H 292.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#765FBD
RGBrgb(118, 95, 189)
HSLhsl(255, 42%, 56%)
HSVhsv(255, 50%, 74%)
CMYKcmyk(37.6%, 49.7%, 0%, 25.9%)
CIE-LABlab(46.59, 31.26, -46.46)
CIE-LCHlch(46.59, 56.00, 303.93°)
OKLaboklab(55.23% 0.0541 -0.1314)
OKLCHoklch(55.23% 0.142 292.4)
XYZxyz(20.7463, 15.7096, 50.0734)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FBD #A6BD5F
analogous
#5F77BD #765FBD #A55FBD
triadic
#765FBD #BD765F #5FBD76
tetradic
#765FBD #BD5F77 #A6BD5F #5FBDA5
square
#765FBD #BD5F77 #A6BD5F #5FBDA5
split-complementary
#765FBD #BDA55F #77BD5F
monochromatic
#402F72 #58419E #765FBD #9B8ACF #C0B6E1

Accessibility & contrast

On white

5.07
#765FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#765FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FBD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FBD#FFFFFF#000000##FFFFFF
##765FBD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C0
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#647285
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765fbd;
/* rgb */ color: rgb(118, 95, 189);
/* oklch */ color: oklch(55.2% 0.142 292.4);
Tailwind
colors: {
  custom: {
    50: '#a18dd1',
    500: '#765fbd',
    950: '#000000',
  },
}
SCSS
$custom: #765fbd;
$custom-light: #a18dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#765fbd",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 254.681,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.14209,
    "h": 292.4
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#765FBD
secondary
#C6CFA8
accent
#D156B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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