#795AAC#795AAC

#795AAC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.6% C 0.127 H 299.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#795AAC
RGBrgb(121, 90, 172)
HSLhsl(263, 33%, 51%)
HSVhsv(263, 48%, 67%)
CMYKcmyk(29.7%, 47.7%, 0%, 32.5%)
CIE-LABlab(44.74, 30.48, -39.46)
CIE-LCHlch(44.74, 49.86, 307.68°)
OKLaboklab(53.61% 0.0628 -0.1108)
OKLCHoklch(53.61% 0.127 299.5)
XYZxyz(18.9860, 14.3557, 40.7924)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AAC #8DAC5A
analogous
#5A64AC #795AAC #A25AAC
triadic
#795AAC #AC795A #5AAC79
tetradic
#795AAC #AC5A64 #8DAC5A #5AACA2
square
#795AAC #AC5A64 #8DAC5A #5AACA2
split-complementary
#795AAC #ACA25A #64AC5A
monochromatic
#402F5D #5C4386 #795AAC #9A83C0 #BBABD5

Accessibility & contrast

On white

5.42
#795AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#795AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AAC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AAC#FFFFFF#000000##FFFFFF
##795AAC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#6F697B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795aac;
/* rgb */ color: rgb(121, 90, 172);
/* oklch */ color: oklch(53.6% 0.127 299.5);
Tailwind
colors: {
  custom: {
    50: '#a289c5',
    500: '#795aac',
    950: '#000000',
  },
}
SCSS
$custom: #795aac;
$custom-light: #a289c5;
$custom-dark: #000000;
JSON
{
  "hex": "#795aac",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 262.683,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.12739,
    "h": 299.5
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#795AAC
secondary
#B5C39F
accent
#C95FA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #795AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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