#795ACE#795ACE

#795ACE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.172 H 292.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#795ACE
RGBrgb(121, 90, 206)
HSLhsl(256, 54%, 58%)
HSVhsv(256, 56%, 81%)
CMYKcmyk(41.3%, 56.3%, 0%, 19.2%)
CIE-LABlab(46.75, 39.63, -55.99)
CIE-LCHlch(46.75, 68.60, 305.29°)
OKLaboklab(55.75% 0.065 -0.1593)
OKLCHoklch(55.75% 0.172 292.2)
XYZxyz(22.6789, 15.8329, 60.2417)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ACE #AFCE5A
analogous
#5A75CE #795ACE #B35ACE
triadic
#795ACE #CE795A #5ACE79
tetradic
#795ACE #CE5A75 #AFCE5A #5ACEB3
square
#795ACE #CE5A75 #AFCE5A #5ACEB3
split-complementary
#795ACE #CEB35A #75CE5A
monochromatic
#412886 #5836B5 #795ACE #9F89DC #C6B8EA

Accessibility & contrast

On white

5.04
#795ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#795ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ACE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ACE#FFFFFF#000000##FFFFFF
##795ACE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D2
Deuteranopia (green-blind)
#246DCB
Tritanopia (blue-blind)
#62738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795ace;
/* rgb */ color: rgb(121, 90, 206);
/* oklch */ color: oklch(55.8% 0.172 292.2);
Tailwind
colors: {
  custom: {
    50: '#a58ade',
    500: '#795ace',
    950: '#000000',
  },
}
SCSS
$custom: #795ace;
$custom-light: #a58ade;
$custom-dark: #000000;
JSON
{
  "hex": "#795ace",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 256.034,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.17205,
    "h": 292.2
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#795ACE
secondary
#CDD9AB
accent
#DE4AB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ACE

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

Preview Lab → · Contrast checker → · Palette generator →

#795ACE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva