#795ABA#795ABA

#795ABA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.4% C 0.146 H 296.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#795ABA
RGBrgb(121, 90, 186)
HSLhsl(259, 41%, 54%)
HSVhsv(259, 52%, 73%)
CMYKcmyk(34.9%, 51.6%, 0%, 27.1%)
CIE-LABlab(45.53, 34.17, -46.40)
CIE-LCHlch(45.53, 57.62, 306.37°)
OKLaboklab(54.45% 0.0642 -0.1311)
OKLCHoklch(54.45% 0.146 296.1)
XYZxyz(20.4020, 14.9221, 48.2502)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ABA #9BBA5A
analogous
#5A6BBA #795ABA #A95ABA
triadic
#795ABA #BA795A #5ABA79
tetradic
#795ABA #BA5A6B #9BBA5A #5ABAA9
square
#795ABA #BA5A6B #9BBA5A #5ABAA9
split-complementary
#795ABA #BAA95A #6BBA5A
monochromatic
#422D6C #5C3F97 #795ABA #9C85CC #BFB0DE

Accessibility & contrast

On white

5.27
#795ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#795ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ABA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ABA#FFFFFF#000000##FFFFFF
##795ABA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#6A6D81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795aba;
/* rgb */ color: rgb(121, 90, 186);
/* oklch */ color: oklch(54.4% 0.146 296.1);
Tailwind
colors: {
  custom: {
    50: '#a389cf',
    500: '#795aba',
    950: '#000000',
  },
}
SCSS
$custom: #795aba;
$custom-light: #a389cf;
$custom-dark: #000000;
JSON
{
  "hex": "#795aba",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 259.375,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.14601,
    "h": 296.1
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#795ABA
secondary
#BFCCA3
accent
#D157A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #795ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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