#795BCA#795BCA

#795BCA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.165 H 292.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#795BCA
RGBrgb(121, 91, 202)
HSLhsl(256, 51%, 57%)
HSVhsv(256, 55%, 79%)
CMYKcmyk(40.1%, 55%, 0%, 20.8%)
CIE-LABlab(46.73, 37.94, -53.74)
CIE-LCHlch(46.73, 65.78, 305.22°)
OKLaboklab(55.65% 0.0638 -0.1527)
OKLCHoklch(55.65% 0.165 292.7)
XYZxyz(22.2840, 15.8108, 57.7434)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BCA #ACCA5B
analogous
#5B75CA #795BCA #B05BCA
triadic
#795BCA #CA795B #5BCA79
tetradic
#795BCA #CA5B75 #ACCA5B #5BCAB0
square
#795BCA #CA5B75 #ACCA5B #5BCAB0
split-complementary
#795BCA #CAB05B #75CA5B
monochromatic
#412A81 #5939AF #795BCA #9F89D9 #C5B8E8

Accessibility & contrast

On white

5.05
#795BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#795BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BCA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BCA#FFFFFF#000000##FFFFFF
##795BCA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#64728A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795bca;
/* rgb */ color: rgb(121, 91, 202);
/* oklch */ color: oklch(55.6% 0.165 292.7);
Tailwind
colors: {
  custom: {
    50: '#a48adb',
    500: '#795bca',
    950: '#000000',
  },
}
SCSS
$custom: #795bca;
$custom-light: #a48adb;
$custom-dark: #000000;
JSON
{
  "hex": "#795bca",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 256.216,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.16544,
    "h": 292.7
  },
  "luminance": 0.15811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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