#765FBE#765FBE

#765FBE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.3% C 0.143 H 292.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#765FBE
RGBrgb(118, 95, 190)
HSLhsl(255, 42%, 56%)
HSVhsv(255, 50%, 75%)
CMYKcmyk(37.9%, 50%, 0%, 25.5%)
CIE-LABlab(46.65, 31.54, -46.95)
CIE-LCHlch(46.65, 56.56, 303.89°)
OKLaboklab(55.29% 0.0542 -0.1328)
OKLCHoklch(55.29% 0.143 292.2)
XYZxyz(20.8552, 15.7532, 50.6471)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FBE #A7BE5F
analogous
#5F77BE #765FBE #A55FBE
triadic
#765FBE #BE765F #5FBE76
tetradic
#765FBE #BE5F77 #A7BE5F #5FBEA5
square
#765FBE #BE5F77 #A7BE5F #5FBEA5
split-complementary
#765FBE #BEA55F #77BE5F
monochromatic
#402F74 #58419F #765FBE #9B8BD0 #C1B6E1

Accessibility & contrast

On white

5.06
#765FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#765FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FBE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FBE#FFFFFF#000000##FFFFFF
##765FBE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#647285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765fbe;
/* rgb */ color: rgb(118, 95, 190);
/* oklch */ color: oklch(55.3% 0.143 292.2);
Tailwind
colors: {
  custom: {
    50: '#a18dd2',
    500: '#765fbe',
    950: '#000000',
  },
}
SCSS
$custom: #765fbe;
$custom-light: #a18dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#765fbe",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 254.526,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.14345,
    "h": 292.2
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#765FBE
secondary
#C7D0A9
accent
#D256B4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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