#795EEC#795EEC

#795EEC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.205 H 287.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#795EEC
RGBrgb(121, 94, 236)
HSLhsl(251, 79%, 65%)
HSVhsv(251, 60%, 93%)
CMYKcmyk(48.7%, 60.2%, 0%, 7.5%)
CIE-LABlab(49.65, 45.82, -68.34)
CIE-LCHlch(49.65, 82.28, 303.84°)
OKLaboklab(58.52% 0.0599 -0.1956)
OKLCHoklch(58.52% 0.205 287)
XYZxyz(27.0238, 18.1252, 81.4152)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EEC #D1EC5E
analogous
#5E8AEC #795EEC #C05EEC
triadic
#795EEC #EC795E #5EEC79
tetradic
#795EEC #EC5E8A #D1EC5E #5EECC0
square
#795EEC #EC5E8A #D1EC5E #5EECC0
split-complementary
#795EEC #ECC05E #8AEC5E
monochromatic
#3516BA #4B27E6 #795EEC #A795F2 #D4CBF9

Accessibility & contrast

On white

4.54
#795EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#795EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EEC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EEC#FFFFFF#000000##000000
##795EEC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#517F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795eec;
/* rgb */ color: rgb(121, 94, 236);
/* oklch */ color: oklch(58.5% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#a88df3',
    500: '#795eec',
    950: '#000000',
  },
}
SCSS
$custom: #795eec;
$custom-light: #a88df3;
$custom-dark: #000000;
JSON
{
  "hex": "#795eec",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 251.408,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.20456,
    "h": 287
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#795EEC
secondary
#E2EBBB
accent
#DB0AB3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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