#795ABF#795ABF

#795ABF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.153 H 295.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#795ABF
RGBrgb(121, 90, 191)
HSLhsl(258, 44%, 55%)
HSVhsv(258, 53%, 75%)
CMYKcmyk(36.6%, 52.9%, 0%, 25.1%)
CIE-LABlab(45.82, 35.52, -48.83)
CIE-LCHlch(45.82, 60.38, 306.03°)
OKLaboklab(54.77% 0.0646 -0.1383)
OKLCHoklch(54.77% 0.153 295)
XYZxyz(20.9429, 15.1385, 51.0987)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ABF #A0BF5A
analogous
#5A6DBF #795ABF #AC5ABF
triadic
#795ABF #BF795A #5ABF79
tetradic
#795ABF #BF5A6D #A0BF5A #5ABFAC
square
#795ABF #BF5A6D #A0BF5A #5ABFAC
split-complementary
#795ABF #BFAC5A #6DBF5A
monochromatic
#422C72 #5B3D9E #795ABF #9D86D0 #C1B2E1

Accessibility & contrast

On white

5.21
#795ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#795ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ABF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ABF#FFFFFF#000000##FFFFFF
##795ABF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#686E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795abf;
/* rgb */ color: rgb(121, 90, 191);
/* oklch */ color: oklch(54.8% 0.153 295.0);
Tailwind
colors: {
  custom: {
    50: '#a389d3',
    500: '#795abf',
    950: '#000000',
  },
}
SCSS
$custom: #795abf;
$custom-light: #a389d3;
$custom-dark: #000000;
JSON
{
  "hex": "#795abf",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 258.416,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.15258,
    "h": 295
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#795ABF
secondary
#C3D0A5
accent
#D454AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #795ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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