#765FDF#765FDF

#765FDF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.187 H 287.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#765FDF
RGBrgb(118, 95, 223)
HSLhsl(251, 67%, 62%)
HSVhsv(251, 57%, 87%)
CMYKcmyk(47.1%, 57.4%, 0%, 12.5%)
CIE-LABlab(48.71, 40.90, -62.54)
CIE-LCHlch(48.71, 74.72, 303.19°)
OKLaboklab(57.49% 0.0554 -0.1786)
OKLCHoklch(57.49% 0.187 287.2)
XYZxyz(24.8788, 17.3626, 71.8382)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FDF #C8DF5F
analogous
#5F88DF #765FDF #B65FDF
triadic
#765FDF #DF765F #5FDF76
tetradic
#765FDF #DF5F88 #C8DF5F #5FDFB6
square
#765FDF #DF5F88 #C8DF5F #5FDFB6
split-complementary
#765FDF #DFB65F #88DF5F
monochromatic
#3821A3 #4A2CD5 #765FDF #A292E9 #CDC5F3

Accessibility & contrast

On white

4.70
#765FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#765FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FDF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FDF#FFFFFF#000000##FFFFFF
##765FDF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#537C96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765fdf;
/* rgb */ color: rgb(118, 95, 223);
/* oklch */ color: oklch(57.5% 0.187 287.2);
Tailwind
colors: {
  custom: {
    50: '#a48dea',
    500: '#765fdf',
    950: '#000000',
  },
}
SCSS
$custom: #765fdf;
$custom-light: #a48dea;
$custom-dark: #000000;
JSON
{
  "hex": "#765fdf",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 250.781,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.18702,
    "h": 287.2
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#765FDF
secondary
#DCE4B6
accent
#CF17AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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