#795ABE#795ABE

#795ABE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.151 H 295.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#795ABE
RGBrgb(121, 90, 190)
HSLhsl(259, 43%, 55%)
HSVhsv(259, 53%, 75%)
CMYKcmyk(36.3%, 52.6%, 0%, 25.5%)
CIE-LABlab(45.76, 35.25, -48.35)
CIE-LCHlch(45.76, 59.83, 306.09°)
OKLaboklab(54.7% 0.0645 -0.1368)
OKLCHoklch(54.7% 0.151 295.2)
XYZxyz(20.8332, 15.0946, 50.5211)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ABE #9FBE5A
analogous
#5A6DBE #795ABE #AB5ABE
triadic
#795ABE #BE795A #5ABE79
tetradic
#795ABE #BE5A6D #9FBE5A #5ABEAB
square
#795ABE #BE5A6D #9FBE5A #5ABEAB
split-complementary
#795ABE #BEAB5A #6DBE5A
monochromatic
#422D71 #5B3E9D #795ABE #9D86CF #C0B2E1

Accessibility & contrast

On white

5.23
#795ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#795ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ABE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ABE#FFFFFF#000000##FFFFFF
##795ABE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#696E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795abe;
/* rgb */ color: rgb(121, 90, 190);
/* oklch */ color: oklch(54.7% 0.151 295.2);
Tailwind
colors: {
  custom: {
    50: '#a389d2',
    500: '#795abe',
    950: '#000000',
  },
}
SCSS
$custom: #795abe;
$custom-light: #a389d2;
$custom-dark: #000000;
JSON
{
  "hex": "#795abe",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 258.6,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.15127,
    "h": 295.2
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#795ABE
secondary
#C2CFA5
accent
#D355AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #795ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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