#795AEA#795AEA

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

Color values

HEX#795AEA
RGBrgb(121, 90, 234)
HSLhsl(253, 77%, 64%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.3%, 61.5%, 0%, 8.2%)
CIE-LABlab(48.66, 47.49, -68.83)
CIE-LCHlch(48.66, 83.62, 304.61°)
OKLaboklab(57.75% 0.0641 -0.197)
OKLCHoklch(57.75% 0.207 288)
XYZxyz(26.3883, 17.3166, 79.7780)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AEA #CBEA5A
analogous
#5A83EA #795AEA #C15AEA
triadic
#795AEA #EA795A #5AEA79
tetradic
#795AEA #EA5A83 #CBEA5A #5AEAC1
square
#795AEA #EA5A83 #CBEA5A #5AEAC1
split-complementary
#795AEA #EAC15A #83EA5A
monochromatic
#3817B3 #4D24E3 #795AEA #A590F1 #D1C7F8

Accessibility & contrast

On white

4.70
#795AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#795AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AEA#FFFFFF#000000##FFFFFF
##795AEA1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#527C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795aea;
/* rgb */ color: rgb(121, 90, 234);
/* oklch */ color: oklch(57.8% 0.207 288.0);
Tailwind
colors: {
  custom: {
    50: '#a88af2',
    500: '#795aea',
    950: '#000000',
  },
}
SCSS
$custom: #795aea;
$custom-light: #a88af2;
$custom-dark: #000000;
JSON
{
  "hex": "#795aea",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 252.917,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.2072,
    "h": 288
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#795AEA
secondary
#DEE9B6
accent
#DA0CAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #795AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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