#795AE1#795AE1

#795AE1 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.196 H 289.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#795AE1
RGBrgb(121, 90, 225)
HSLhsl(254, 69%, 62%)
HSVhsv(254, 60%, 88%)
CMYKcmyk(46.2%, 60%, 0%, 11.8%)
CIE-LABlab(48.02, 44.94, -64.77)
CIE-LCHlch(48.02, 78.84, 304.76°)
OKLaboklab(57.09% 0.0646 -0.1851)
OKLCHoklch(57.09% 0.196 289.2)
XYZxyz(25.1281, 16.8125, 73.1407)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AE1 #C2E15A
analogous
#5A7FE1 #795AE1 #BD5AE1
triadic
#795AE1 #E1795A #5AE179
tetradic
#795AE1 #E15A7F #C2E15A #5AE1BD
square
#795AE1 #E15A7F #C2E15A #5AE1BD
split-complementary
#795AE1 #E1BD5A #7FE15A
monochromatic
#3C1EA3 #4F27D7 #795AE1 #A38EEA #CDC2F4

Accessibility & contrast

On white

4.81
#795AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#795AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AE1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AE1#FFFFFF#000000##FFFFFF
##795AE11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#587995
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795ae1;
/* rgb */ color: rgb(121, 90, 225);
/* oklch */ color: oklch(57.1% 0.196 289.2);
Tailwind
colors: {
  custom: {
    50: '#a78aeb',
    500: '#795ae1',
    950: '#000000',
  },
}
SCSS
$custom: #795ae1;
$custom-light: #a78aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#795ae1",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 253.778,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.19607,
    "h": 289.2
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#795AE1
secondary
#D9E4B2
accent
#D114A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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