#765FBC#765FBC

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

Color values

HEX#765FBC
RGBrgb(118, 95, 188)
HSLhsl(255, 41%, 55%)
HSVhsv(255, 49%, 74%)
CMYKcmyk(37.2%, 49.5%, 0%, 26.3%)
CIE-LABlab(46.53, 30.98, -45.97)
CIE-LCHlch(46.53, 55.44, 303.98°)
OKLaboklab(55.17% 0.054 -0.1299)
OKLCHoklch(55.17% 0.141 292.6)
XYZxyz(20.6381, 15.6663, 49.5037)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FBC #A5BC5F
analogous
#5F76BC #765FBC #A45FBC
triadic
#765FBC #BC765F #5FBC76
tetradic
#765FBC #BC5F76 #A5BC5F #5FBCA4
square
#765FBC #BC5F76 #A5BC5F #5FBCA4
split-complementary
#765FBC #BCA45F #76BC5F
monochromatic
#402F71 #58419C #765FBC #9B8ACE #C0B5E0

Accessibility & contrast

On white

5.08
#765FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#765FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FBC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FBC#FFFFFF#000000##FFFFFF
##765FBC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#3F6DBA
Tritanopia (blue-blind)
#647185
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765fbc;
/* rgb */ color: rgb(118, 95, 188);
/* oklch */ color: oklch(55.2% 0.141 292.6);
Tailwind
colors: {
  custom: {
    50: '#a18dd1',
    500: '#765fbc',
    950: '#000000',
  },
}
SCSS
$custom: #765fbc;
$custom-light: #a18dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#765fbc",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 254.839,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.14073,
    "h": 292.6
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#765FBC
secondary
#C5CFA8
accent
#D157B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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