#795CE7#795CE7

#795CE7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 57.8% C 0.201 H 288.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#795CE7
RGBrgb(121, 92, 231)
HSLhsl(253, 74%, 63%)
HSVhsv(253, 60%, 91%)
CMYKcmyk(47.6%, 60.2%, 0%, 9.4%)
CIE-LABlab(48.87, 45.52, -66.79)
CIE-LCHlch(48.87, 80.83, 304.27°)
OKLaboklab(57.84% 0.0622 -0.191)
OKLCHoklch(57.84% 0.201 288)
XYZxyz(26.1319, 17.4876, 77.5844)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE7 #CAE75C
analogous
#5C84E7 #795CE7 #BE5CE7
triadic
#795CE7 #E7795C #5CE779
tetradic
#795CE7 #E75C84 #CAE75C #5CE7BE
square
#795CE7 #E75C84 #CAE75C #5CE7BE
split-complementary
#795CE7 #E7BE5C #84E75C
monochromatic
#391AAF #4D27DF #795CE7 #A591EF #D1C7F7

Accessibility & contrast

On white

4.67
#795CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#795CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE7#FFFFFF#000000##FFFFFF
##795CE71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#547C99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ce7;
/* rgb */ color: rgb(121, 92, 231);
/* oklch */ color: oklch(57.8% 0.201 288.0);
Tailwind
colors: {
  custom: {
    50: '#a78bef',
    500: '#795ce7',
    950: '#000000',
  },
}
SCSS
$custom: #795ce7;
$custom-light: #a78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce7",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 252.518,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.20093,
    "h": 288
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#795CE7
secondary
#DEE8B7
accent
#D60FAD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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