#795CB0#795CB0

#795CB0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.2% C 0.129 H 297.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#795CB0
RGBrgb(121, 92, 176)
HSLhsl(261, 35%, 53%)
HSVhsv(261, 48%, 69%)
CMYKcmyk(31.3%, 47.7%, 0%, 31%)
CIE-LABlab(45.43, 30.33, -40.71)
CIE-LCHlch(45.43, 50.77, 306.69°)
OKLaboklab(54.2% 0.0605 -0.1145)
OKLCHoklch(54.2% 0.129 297.9)
XYZxyz(19.5469, 14.8536, 42.9031)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CB0 #93B05C
analogous
#5C69B0 #795CB0 #A35CB0
triadic
#795CB0 #B0795C #5CB079
tetradic
#795CB0 #B05C69 #93B05C #5CB0A3
square
#795CB0 #B05C69 #93B05C #5CB0A3
split-complementary
#795CB0 #B0A35C #69B05C
monochromatic
#413062 #5C448B #795CB0 #9B85C4 #BDAED8

Accessibility & contrast

On white

5.29
#795CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#795CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CB0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CB0#FFFFFF#000000##FFFFFF
##795CB01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#6D6C7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795cb0;
/* rgb */ color: rgb(121, 92, 176);
/* oklch */ color: oklch(54.2% 0.129 297.9);
Tailwind
colors: {
  custom: {
    50: '#a28bc8',
    500: '#795cb0',
    950: '#000000',
  },
}
SCSS
$custom: #795cb0;
$custom-light: #a28bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#795cb0",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 260.714,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.12949,
    "h": 297.9
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#795CB0
secondary
#BAC6A2
accent
#CB5DA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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