#765FD8#765FD8

#765FD8 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.178 H 288.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#765FD8
RGBrgb(118, 95, 216)
HSLhsl(251, 61%, 61%)
HSVhsv(251, 56%, 85%)
CMYKcmyk(45.4%, 56%, 0%, 15.3%)
CIE-LABlab(48.25, 38.89, -59.31)
CIE-LCHlch(48.25, 70.92, 303.25°)
OKLaboklab(57% 0.0555 -0.1691)
OKLCHoklch(57% 0.178 288.2)
XYZxyz(23.9545, 16.9929, 66.9702)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FD8 #C1D85F
analogous
#5F84D8 #765FD8 #B25FD8
triadic
#765FD8 #D8765F #5FD876
tetradic
#765FD8 #D85F84 #C1D85F #5FD8B2
square
#765FD8 #D85F84 #C1D85F #5FD8B2
split-complementary
#765FD8 #D8B25F #84D85F
monochromatic
#3B2598 #4E31C9 #765FD8 #A090E4 #CAC1F0

Accessibility & contrast

On white

4.77
#765FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#765FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FD8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FD8#FFFFFF#000000##FFFFFF
##765FD81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1575DC
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#577A92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765fd8;
/* rgb */ color: rgb(118, 95, 216);
/* oklch */ color: oklch(57.0% 0.178 288.2);
Tailwind
colors: {
  custom: {
    50: '#a48de5',
    500: '#765fd8',
    950: '#000000',
  },
}
SCSS
$custom: #765fd8;
$custom-light: #a48de5;
$custom-dark: #000000;
JSON
{
  "hex": "#765fd8",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 251.405,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.17798,
    "h": 288.2
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#765FD8
secondary
#D8E0B3
accent
#C81DA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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