#795CEA#795CEA

#795CEA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.1% C 0.205 H 287.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#795CEA
RGBrgb(121, 92, 234)
HSLhsl(252, 77%, 64%)
HSVhsv(252, 61%, 92%)
CMYKcmyk(48.3%, 60.7%, 0%, 8.2%)
CIE-LABlab(49.08, 46.37, -68.14)
CIE-LCHlch(49.08, 82.42, 304.24°)
OKLaboklab(58.06% 0.0621 -0.195)
OKLCHoklch(58.06% 0.205 287.7)
XYZxyz(26.5593, 17.6586, 79.8350)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CEA #CDEA5C
analogous
#5C86EA #795CEA #C05CEA
triadic
#795CEA #EA795C #5CEA79
tetradic
#795CEA #EA5C86 #CDEA5C #5CEAC0
square
#795CEA #EA5C86 #CDEA5C #5CEAC0
split-complementary
#795CEA #EAC05C #86EA5C
monochromatic
#3717B4 #4C26E3 #795CEA #A692F1 #D2C8F8

Accessibility & contrast

On white

4.63
#795CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#795CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795CEA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CEA#FFFFFF#000000##FFFFFF
##795CEA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#527D9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795cea;
/* rgb */ color: rgb(121, 92, 234);
/* oklch */ color: oklch(58.1% 0.205 287.7);
Tailwind
colors: {
  custom: {
    50: '#a88bf2',
    500: '#795cea',
    950: '#000000',
  },
}
SCSS
$custom: #795cea;
$custom-light: #a88bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#795cea",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 252.254,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.20465,
    "h": 287.7
  },
  "luminance": 0.1766
}

Semantic roles & 50–950 ramp

primary
#795CEA
secondary
#E0EAB8
accent
#D90CAF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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