#795ABC#795ABC

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

Color values

HEX#795ABC
RGBrgb(121, 90, 188)
HSLhsl(259, 42%, 55%)
HSVhsv(259, 52%, 74%)
CMYKcmyk(35.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(45.64, 34.71, -47.37)
CIE-LCHlch(45.64, 58.73, 306.23°)
OKLaboklab(54.57% 0.0644 -0.134)
OKLCHoklch(54.57% 0.149 295.7)
XYZxyz(20.6161, 15.0078, 49.3778)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ABC #9DBC5A
analogous
#5A6CBC #795ABC #AA5ABC
triadic
#795ABC #BC795A #5ABC79
tetradic
#795ABC #BC5A6C #9DBC5A #5ABCAA
square
#795ABC #BC5A6C #9DBC5A #5ABCAA
split-complementary
#795ABC #BCAA5A #6CBC5A
monochromatic
#422D6F #5C3F9A #795ABC #9C86CE #C0B1DF

Accessibility & contrast

On white

5.25
#795ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#795ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ABC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ABC#FFFFFF#000000##FFFFFF
##795ABC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#696D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795abc;
/* rgb */ color: rgb(121, 90, 188);
/* oklch */ color: oklch(54.6% 0.149 295.7);
Tailwind
colors: {
  custom: {
    50: '#a389d1',
    500: '#795abc',
    950: '#000000',
  },
}
SCSS
$custom: #795abc;
$custom-light: #a389d1;
$custom-dark: #000000;
JSON
{
  "hex": "#795abc",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 258.98,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.14864,
    "h": 295.7
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#795ABC
secondary
#C1CEA4
accent
#D256AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #795ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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