#795ACF#795ACF

#795ACF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.173 H 292.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#795ACF
RGBrgb(121, 90, 207)
HSLhsl(256, 55%, 58%)
HSVhsv(256, 57%, 81%)
CMYKcmyk(41.5%, 56.5%, 0%, 18.8%)
CIE-LABlab(46.82, 39.90, -56.46)
CIE-LCHlch(46.82, 69.14, 305.25°)
OKLaboklab(55.82% 0.0651 -0.1607)
OKLCHoklch(55.82% 0.173 292)
XYZxyz(22.8007, 15.8816, 60.8835)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ACF #B0CF5A
analogous
#5A75CF #795ACF #B35ACF
triadic
#795ACF #CF795A #5ACF79
tetradic
#795ACF #CF5A75 #B0CF5A #5ACFB3
square
#795ACF #CF5A75 #B0CF5A #5ACFB3
split-complementary
#795ACF #CFB35A #75CF5A
monochromatic
#412787 #5735B7 #795ACF #9F89DD #C6B9EB

Accessibility & contrast

On white

5.03
#795ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#795ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ACF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ACF#FFFFFF#000000##FFFFFF
##795ACF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#226DCC
Tritanopia (blue-blind)
#61738C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795acf;
/* rgb */ color: rgb(121, 90, 207);
/* oklch */ color: oklch(55.8% 0.173 292.0);
Tailwind
colors: {
  custom: {
    50: '#a58ade',
    500: '#795acf',
    950: '#000000',
  },
}
SCSS
$custom: #795acf;
$custom-light: #a58ade;
$custom-dark: #000000;
JSON
{
  "hex": "#795acf",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 255.897,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.17333,
    "h": 292
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#795ACF
secondary
#CDDAAB
accent
#DE4AB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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