#795CCF#795CCF

#795CCF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.170 H 291.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#795CCF
RGBrgb(121, 92, 207)
HSLhsl(255, 55%, 59%)
HSVhsv(255, 56%, 81%)
CMYKcmyk(41.5%, 55.6%, 0%, 18.8%)
CIE-LABlab(47.27, 38.75, -55.74)
CIE-LCHlch(47.27, 67.89, 304.81°)
OKLaboklab(56.15% 0.0627 -0.1585)
OKLCHoklch(56.15% 0.17 291.6)
XYZxyz(22.9717, 16.2236, 60.9405)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CCF #B2CF5C
analogous
#5C78CF #795CCF #B25CCF
triadic
#795CCF #CF795C #5CCF79
tetradic
#795CCF #CF5C78 #B2CF5C #5CCFB2
square
#795CCF #CF5C78 #B2CF5C #5CCFB2
split-complementary
#795CCF #CFB25C #78CF5C
monochromatic
#402888 #5736B8 #795CCF #A08BDD #C7BBEB

Accessibility & contrast

On white

4.95
#795CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#795CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CCF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CCF#FFFFFF#000000##FFFFFF
##795CCF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#276ECC
Tritanopia (blue-blind)
#61758D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795ccf;
/* rgb */ color: rgb(121, 92, 207);
/* oklch */ color: oklch(56.2% 0.170 291.6);
Tailwind
colors: {
  custom: {
    50: '#a58bde',
    500: '#795ccf',
    950: '#000000',
  },
}
SCSS
$custom: #795ccf;
$custom-light: #a58bde;
$custom-dark: #000000;
JSON
{
  "hex": "#795ccf",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 255.13,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.17048,
    "h": 291.6
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#795CCF
secondary
#CFDAAD
accent
#DE4AB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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