#765FDC#765FDC

#765FDC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.183 H 287.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#765FDC
RGBrgb(118, 95, 220)
HSLhsl(251, 64%, 62%)
HSVhsv(251, 57%, 86%)
CMYKcmyk(46.4%, 56.8%, 0%, 13.7%)
CIE-LABlab(48.51, 40.04, -61.16)
CIE-LCHlch(48.51, 73.10, 303.21°)
OKLaboklab(57.28% 0.0555 -0.1745)
OKLCHoklch(57.28% 0.183 287.6)
XYZxyz(24.4780, 17.2023, 69.7269)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FDC #C5DC5F
analogous
#5F87DC #765FDC #B55FDC
triadic
#765FDC #DC765F #5FDC76
tetradic
#765FDC #DC5F87 #C5DC5F #5FDCB5
square
#765FDC #DC5F87 #C5DC5F #5FDCB5
split-complementary
#765FDC #DCB55F #87DC5F
monochromatic
#39239E #4B2ED0 #765FDC #A191E7 #CCC3F2

Accessibility & contrast

On white

4.73
#765FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#765FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FDC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FDC#FFFFFF#000000##FFFFFF
##765FDC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0576E0
Deuteranopia (green-blind)
#0670D9
Tritanopia (blue-blind)
#557B94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765fdc;
/* rgb */ color: rgb(118, 95, 220);
/* oklch */ color: oklch(57.3% 0.183 287.6);
Tailwind
colors: {
  custom: {
    50: '#a48de8',
    500: '#765fdc',
    950: '#000000',
  },
}
SCSS
$custom: #765fdc;
$custom-light: #a48de8;
$custom-dark: #000000;
JSON
{
  "hex": "#765fdc",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 251.04,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.18315,
    "h": 287.6
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#765FDC
secondary
#DAE3B4
accent
#CC1AAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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