#795CE2#795CE2

#795CE2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.195 H 288.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795CE2
RGBrgb(121, 92, 226)
HSLhsl(253, 70%, 62%)
HSVhsv(253, 59%, 89%)
CMYKcmyk(46.5%, 59.3%, 0%, 11.4%)
CIE-LABlab(48.52, 44.10, -64.53)
CIE-LCHlch(48.52, 78.16, 304.35°)
OKLaboklab(57.48% 0.0625 -0.1844)
OKLCHoklch(57.48% 0.195 288.7)
XYZxyz(25.4358, 17.2092, 73.9183)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE2 #C5E25C
analogous
#5C82E2 #795CE2 #BC5CE2
triadic
#795CE2 #E2795C #5CE279
tetradic
#795CE2 #E25C82 #C5E25C #5CE2BC
square
#795CE2 #E25C82 #C5E25C #5CE2BC
split-complementary
#795CE2 #E2BC5C #82E25C
monochromatic
#3B1EA6 #4E28D9 #795CE2 #A490EB #CEC4F4

Accessibility & contrast

On white

4.73
#795CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#795CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE2#FFFFFF#000000##FFFFFF
##795CE21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#577B96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ce2;
/* rgb */ color: rgb(121, 92, 226);
/* oklch */ color: oklch(57.5% 0.195 288.7);
Tailwind
colors: {
  custom: {
    50: '#a78bec',
    500: '#795ce2',
    950: '#000000',
  },
}
SCSS
$custom: #795ce2;
$custom-light: #a78bec;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce2",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 252.985,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.19468,
    "h": 288.7
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#795CE2
secondary
#DBE5B4
accent
#D214A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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