#795ACD#795ACD

#795ACD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.171 H 292.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#795ACD
RGBrgb(121, 90, 205)
HSLhsl(256, 53%, 58%)
HSVhsv(256, 56%, 80%)
CMYKcmyk(41%, 56.1%, 0%, 19.6%)
CIE-LABlab(46.69, 39.35, -55.52)
CIE-LCHlch(46.69, 68.05, 305.33°)
OKLaboklab(55.68% 0.065 -0.1579)
OKLCHoklch(55.68% 0.171 292.4)
XYZxyz(22.5578, 15.7844, 59.6040)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ACD #AECD5A
analogous
#5A74CD #795ACD #B25ACD
triadic
#795ACD #CD795A #5ACD79
tetradic
#795ACD #CD5A74 #AECD5A #5ACDB2
square
#795ACD #CD5A74 #AECD5A #5ACDB2
split-complementary
#795ACD #CDB25A #74CD5A
monochromatic
#412884 #5836B3 #795ACD #9F89DB #C5B8E9

Accessibility & contrast

On white

5.05
#795ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#795ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ACD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ACD#FFFFFF#000000##FFFFFF
##795ACD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#62738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795acd;
/* rgb */ color: rgb(121, 90, 205);
/* oklch */ color: oklch(55.7% 0.171 292.4);
Tailwind
colors: {
  custom: {
    50: '#a589dd',
    500: '#795acd',
    950: '#000000',
  },
}
SCSS
$custom: #795acd;
$custom-light: #a589dd;
$custom-dark: #000000;
JSON
{
  "hex": "#795acd",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 256.174,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.17077,
    "h": 292.4
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#795ACD
secondary
#CCD8AA
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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