#795CC0#795CC0

#795CC0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.2% C 0.151 H 294.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#795CC0
RGBrgb(121, 92, 192)
HSLhsl(257, 44%, 56%)
HSVhsv(257, 52%, 75%)
CMYKcmyk(37%, 52.1%, 0%, 24.7%)
CIE-LABlab(46.34, 34.62, -48.58)
CIE-LCHlch(46.34, 59.65, 305.48°)
OKLaboklab(55.17% 0.0621 -0.1375)
OKLCHoklch(55.17% 0.151 294.3)
XYZxyz(21.2243, 15.5246, 51.7373)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CC0 #A3C05C
analogous
#5C71C0 #795CC0 #AB5CC0
triadic
#795CC0 #C0795C #5CC079
tetradic
#795CC0 #C05C71 #A3C05C #5CC0AB
square
#795CC0 #C05C71 #A3C05C #5CC0AB
split-complementary
#795CC0 #C0AB5C #71C05C
monochromatic
#422D75 #5B3EA1 #795CC0 #9D88D1 #C2B4E2

Accessibility & contrast

On white

5.12
#795CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#795CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CC0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CC0#FFFFFF#000000##FFFFFF
##795CC01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#3A6CBE
Tritanopia (blue-blind)
#687085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795cc0;
/* rgb */ color: rgb(121, 92, 192);
/* oklch */ color: oklch(55.2% 0.151 294.3);
Tailwind
colors: {
  custom: {
    50: '#a38bd3',
    500: '#795cc0',
    950: '#000000',
  },
}
SCSS
$custom: #795cc0;
$custom-light: #a38bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795cc0",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 257.4,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.15086,
    "h": 294.3
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#795CC0
secondary
#C5D1A7
accent
#D454AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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