#795CE9#795CE9

#795CE9 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.0% C 0.203 H 287.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#795CE9
RGBrgb(121, 92, 233)
HSLhsl(252, 76%, 64%)
HSVhsv(252, 61%, 91%)
CMYKcmyk(48.1%, 60.5%, 0%, 8.6%)
CIE-LABlab(49.01, 46.09, -67.69)
CIE-LCHlch(49.01, 81.89, 304.25°)
OKLaboklab(57.99% 0.0621 -0.1937)
OKLCHoklch(57.99% 0.203 287.8)
XYZxyz(26.4160, 17.6013, 79.0805)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE9 #CCE95C
analogous
#5C85E9 #795CE9 #BF5CE9
triadic
#795CE9 #E9795C #5CE979
tetradic
#795CE9 #E95C85 #CCE95C #5CE9BF
square
#795CE9 #E95C85 #CCE95C #5CE9BF
split-complementary
#795CE9 #E9BF5C #85E95C
monochromatic
#3818B3 #4D26E2 #795CE9 #A592F0 #D2C8F8

Accessibility & contrast

On white

4.65
#795CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795CE9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE9#FFFFFF#000000##FFFFFF
##795CE91.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#537D9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ce9;
/* rgb */ color: rgb(121, 92, 233);
/* oklch */ color: oklch(58.0% 0.203 287.8);
Tailwind
colors: {
  custom: {
    50: '#a88bf1',
    500: '#795ce9',
    950: '#000000',
  },
}
SCSS
$custom: #795ce9;
$custom-light: #a88bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce9",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 252.34,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.20341,
    "h": 287.8
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#795CE9
secondary
#DFE9B8
accent
#D80DAF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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