#765ACF#765ACF

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

Color values

HEX#765ACF
RGBrgb(118, 90, 207)
HSLhsl(254, 55%, 58%)
HSVhsv(254, 57%, 81%)
CMYKcmyk(43%, 56.5%, 0%, 18.8%)
CIE-LABlab(46.54, 39.23, -56.93)
CIE-LCHlch(46.54, 69.14, 304.57°)
OKLaboklab(55.55% 0.0612 -0.1621)
OKLCHoklch(55.55% 0.173 290.7)
XYZxyz(22.3867, 15.6681, 60.8641)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ACF #B3CF5A
analogous
#5A78CF #765ACF #B05ACF
triadic
#765ACF #CF765A #5ACF76
tetradic
#765ACF #CF5A78 #B3CF5A #5ACFB0
square
#765ACF #CF5A78 #B3CF5A #5ACFB0
split-complementary
#765ACF #CFB05A #78CF5A
monochromatic
#3E2787 #5435B7 #765ACF #9D89DD #C5B9EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765ACF#FFFFFF#000000##FFFFFF
##765ACF1.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)
#1570D3
Deuteranopia (green-blind)
#1D6CCC
Tritanopia (blue-blind)
#5C748C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765acf;
/* rgb */ color: rgb(118, 90, 207);
/* oklch */ color: oklch(55.5% 0.173 290.7);
Tailwind
colors: {
  custom: {
    50: '#a389de',
    500: '#765acf',
    950: '#000000',
  },
}
SCSS
$custom: #765acf;
$custom-light: #a389de;
$custom-dark: #000000;
JSON
{
  "hex": "#765acf",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 254.359,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.1733,
    "h": 290.7
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#765ACF
secondary
#CFDAAB
accent
#DE4ABB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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