#795ACA#795ACA

#795ACA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.167 H 292.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#795ACA
RGBrgb(121, 90, 202)
HSLhsl(257, 51%, 57%)
HSVhsv(257, 55%, 79%)
CMYKcmyk(40.1%, 55.4%, 0%, 20.8%)
CIE-LABlab(46.50, 38.52, -54.10)
CIE-LCHlch(46.50, 66.41, 305.45°)
OKLaboklab(55.48% 0.065 -0.1537)
OKLCHoklch(55.48% 0.167 292.9)
XYZxyz(22.1991, 15.6410, 57.7151)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ACA #ABCA5A
analogous
#5A73CA #795ACA #B15ACA
triadic
#795ACA #CA795A #5ACA79
tetradic
#795ACA #CA5A73 #ABCA5A #5ACAB1
square
#795ACA #CA5A73 #ABCA5A #5ACAB1
split-complementary
#795ACA #CAB15A #73CA5A
monochromatic
#412980 #5938AF #795ACA #9F88D9 #C4B7E8

Accessibility & contrast

On white

5.09
#795ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#795ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ACA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ACA#FFFFFF#000000##FFFFFF
##795ACA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#647289
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795aca;
/* rgb */ color: rgb(121, 90, 202);
/* oklch */ color: oklch(55.5% 0.167 292.9);
Tailwind
colors: {
  custom: {
    50: '#a489db',
    500: '#795aca',
    950: '#000000',
  },
}
SCSS
$custom: #795aca;
$custom-light: #a489db;
$custom-dark: #000000;
JSON
{
  "hex": "#795aca",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 256.607,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.1669,
    "h": 292.9
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#795ACA
secondary
#CAD7A9
accent
#DB4DB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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