#795CEE#795CEE

#795CEE is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.210 H 287.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#795CEE
RGBrgb(121, 92, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(49.2%, 61.3%, 0%, 6.7%)
CIE-LABlab(49.36, 47.51, -69.93)
CIE-LCHlch(49.36, 84.54, 304.19°)
OKLaboklab(58.36% 0.0618 -0.2003)
OKLCHoklch(58.36% 0.21 287.2)
XYZxyz(27.1404, 17.8910, 82.8956)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CEE #D1EE5C
analogous
#5C88EE #795CEE #C25CEE
triadic
#795CEE #EE795C #5CEE79
tetradic
#795CEE #EE5C88 #D1EE5C #5CEEC2
square
#795CEE #EE5C88 #D1EE5C #5CEEC2
split-complementary
#795CEE #EEC25C #88EE5C
monochromatic
#3514BC #4B25E8 #795CEE #A793F4 #D4CBFA

Accessibility & contrast

On white

4.59
#795CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#795CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795CEE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CEE#FFFFFF#000000##FFFFFF
##795CEE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#4F7F9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795cee;
/* rgb */ color: rgb(121, 92, 238);
/* oklch */ color: oklch(58.4% 0.210 287.2);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#795cee',
    950: '#000000',
  },
}
SCSS
$custom: #795cee;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#795cee",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 251.918,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58356,
    "c": 0.20958,
    "h": 287.2
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#795CEE
secondary
#E2ECBA
accent
#DD08B3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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