#795EE3#795EE3

#795EE3 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.193 H 288.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#795EE3
RGBrgb(121, 94, 227)
HSLhsl(252, 70%, 63%)
HSVhsv(252, 59%, 89%)
CMYKcmyk(46.7%, 58.6%, 0%, 11%)
CIE-LABlab(49.03, 43.24, -64.28)
CIE-LCHlch(49.03, 77.47, 303.93°)
OKLaboklab(57.87% 0.0603 -0.1836)
OKLCHoklch(57.87% 0.193 288.2)
XYZxyz(25.7490, 17.6153, 74.7015)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE3 #C8E35E
analogous
#5E86E3 #795EE3 #BB5EE3
triadic
#795EE3 #E3795E #5EE379
tetradic
#795EE3 #E35E86 #C8E35E #5EE3BB
square
#795EE3 #E35E86 #C8E35E #5EE3BB
split-complementary
#795EE3 #E3BB5E #86E35E
monochromatic
#3A1DA9 #4E2ADA #795EE3 #A492EC #D0C6F5

Accessibility & contrast

On white

4.64
#795EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#795EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE3#FFFFFF#000000##FFFFFF
##795EE31.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#567C98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ee3;
/* rgb */ color: rgb(121, 94, 227);
/* oklch */ color: oklch(57.9% 0.193 288.2);
Tailwind
colors: {
  custom: {
    50: '#a78ded',
    500: '#795ee3',
    950: '#000000',
  },
}
SCSS
$custom: #795ee3;
$custom-light: #a78ded;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee3",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 252.18,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.19328,
    "h": 288.2
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#795EE3
secondary
#DDE6B6
accent
#D213AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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