#795ADE#795ADE

#795ADE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.192 H 289.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#795ADE
RGBrgb(121, 90, 222)
HSLhsl(254, 67%, 61%)
HSVhsv(254, 59%, 87%)
CMYKcmyk(45.5%, 59.5%, 0%, 12.9%)
CIE-LABlab(47.82, 44.10, -63.41)
CIE-LCHlch(47.82, 77.23, 304.82°)
OKLaboklab(56.87% 0.0648 -0.1811)
OKLCHoklch(56.87% 0.192 289.7)
XYZxyz(24.7224, 16.6503, 71.0043)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ADE #BFDE5A
analogous
#5A7DDE #795ADE #BB5ADE
triadic
#795ADE #DE795A #5ADE79
tetradic
#795ADE #DE5A7D #BFDE5A #5ADEBB
square
#795ADE #DE5A7D #BFDE5A #5ADEBB
split-complementary
#795ADE #DEBB5A #7DDE5A
monochromatic
#3D209E #512AD1 #795ADE #A28DE8 #CCC0F2

Accessibility & contrast

On white

4.85
#795ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#795ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ADE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ADE#FFFFFF#000000##FFFFFF
##795ADE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#5A7893
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795ade;
/* rgb */ color: rgb(121, 90, 222);
/* oklch */ color: oklch(56.9% 0.192 289.7);
Tailwind
colors: {
  custom: {
    50: '#a68ae9',
    500: '#795ade',
    950: '#000000',
  },
}
SCSS
$custom: #795ade;
$custom-light: #a68ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#795ade",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 254.091,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56871,
    "c": 0.19232,
    "h": 289.7
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#795ADE
secondary
#D7E3B1
accent
#CF17A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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