#795ACB#795ACB

#795ACB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.168 H 292.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#795ACB
RGBrgb(121, 90, 203)
HSLhsl(256, 52%, 57%)
HSVhsv(256, 56%, 80%)
CMYKcmyk(40.4%, 55.7%, 0%, 20.4%)
CIE-LABlab(46.56, 38.80, -54.58)
CIE-LCHlch(46.56, 66.96, 305.41°)
OKLaboklab(55.55% 0.065 -0.1551)
OKLCHoklch(55.55% 0.168 292.7)
XYZxyz(22.3179, 15.6885, 58.3406)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ACB #ACCB5A
analogous
#5A74CB #795ACB #B15ACB
triadic
#795ACB #CB795A #5ACB79
tetradic
#795ACB #CB5A74 #ACCB5A #5ACBB1
square
#795ACB #CB5A74 #ACCB5A #5ACBB1
split-complementary
#795ACB #CBB15A #74CB5A
monochromatic
#412982 #5938B0 #795ACB #9F89DA #C5B7E8

Accessibility & contrast

On white

5.08
#795ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#795ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ACB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ACB#FFFFFF#000000##FFFFFF
##795ACB1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#63728A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795acb;
/* rgb */ color: rgb(121, 90, 203);
/* oklch */ color: oklch(55.5% 0.168 292.7);
Tailwind
colors: {
  custom: {
    50: '#a489db',
    500: '#795acb',
    950: '#000000',
  },
}
SCSS
$custom: #795acb;
$custom-light: #a489db;
$custom-dark: #000000;
JSON
{
  "hex": "#795acb",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 256.46,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.16819,
    "h": 292.7
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#795ACB
secondary
#CBD7AA
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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