#795ABD#795ABD

#795ABD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.6% C 0.150 H 295.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#795ABD
RGBrgb(121, 90, 189)
HSLhsl(259, 43%, 55%)
HSVhsv(259, 52%, 74%)
CMYKcmyk(36%, 52.4%, 0%, 25.9%)
CIE-LABlab(45.70, 34.98, -47.86)
CIE-LCHlch(45.70, 59.28, 306.16°)
OKLaboklab(54.64% 0.0644 -0.1354)
OKLCHoklch(54.64% 0.15 295.4)
XYZxyz(20.7243, 15.0510, 49.9475)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ABD #9EBD5A
analogous
#5A6DBD #795ABD #AB5ABD
triadic
#795ABD #BD795A #5ABD79
tetradic
#795ABD #BD5A6D #9EBD5A #5ABDAB
square
#795ABD #BD5A6D #9EBD5A #5ABDAB
split-complementary
#795ABD #BDAB5A #6DBD5A
monochromatic
#422D70 #5B3E9C #795ABD #9D86CE #C0B1E0

Accessibility & contrast

On white

5.24
#795ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#795ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ABD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ABD#FFFFFF#000000##FFFFFF
##795ABD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC0
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#696E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795abd;
/* rgb */ color: rgb(121, 90, 189);
/* oklch */ color: oklch(54.6% 0.150 295.4);
Tailwind
colors: {
  custom: {
    50: '#a389d1',
    500: '#795abd',
    950: '#000000',
  },
}
SCSS
$custom: #795abd;
$custom-light: #a389d1;
$custom-dark: #000000;
JSON
{
  "hex": "#795abd",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 258.788,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.14996,
    "h": 295.4
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#795ABD
secondary
#C1CEA5
accent
#D355AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #795ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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