#795FCA#795FCA

#795FCA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.160 H 291.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#795FCA
RGBrgb(121, 95, 202)
HSLhsl(255, 50%, 58%)
HSVhsv(255, 53%, 79%)
CMYKcmyk(40.1%, 53%, 0%, 20.8%)
CIE-LABlab(47.64, 35.61, -52.27)
CIE-LCHlch(47.64, 63.25, 304.26°)
OKLaboklab(56.33% 0.0589 -0.1483)
OKLCHoklch(56.33% 0.16 291.6)
XYZxyz(22.6351, 16.5130, 57.8604)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FCA #B0CA5F
analogous
#5F7ACA #795FCA #AE5FCA
triadic
#795FCA #CA795F #5FCA79
tetradic
#795FCA #CA5F7A #B0CA5F #5FCAAE
square
#795FCA #CA5F7A #B0CA5F #5FCAAE
split-complementary
#795FCA #CAAE5F #7ACA5F
monochromatic
#412B83 #573BB1 #795FCA #9F8DD9 #C6BBE8

Accessibility & contrast

On white

4.88
#795FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#795FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FCA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FCA#FFFFFF#000000##FFFFFF
##795FCA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#63758B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795fca;
/* rgb */ color: rgb(121, 95, 202);
/* oklch */ color: oklch(56.3% 0.160 291.6);
Tailwind
colors: {
  custom: {
    50: '#a48ddb',
    500: '#795fca',
    950: '#000000',
  },
}
SCSS
$custom: #795fca;
$custom-light: #a48ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#795fca",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 254.579,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.15959,
    "h": 291.6
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#795FCA
secondary
#CDD8AD
accent
#DA4EB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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