#795ADB#795ADB

#795ADB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.189 H 290.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#795ADB
RGBrgb(121, 90, 219)
HSLhsl(254, 64%, 61%)
HSVhsv(254, 59%, 86%)
CMYKcmyk(44.7%, 58.9%, 0%, 14.1%)
CIE-LABlab(47.61, 43.25, -62.03)
CIE-LCHlch(47.61, 75.63, 304.89°)
OKLaboklab(56.66% 0.0649 -0.1771)
OKLCHoklch(56.66% 0.189 290.1)
XYZxyz(24.3239, 16.4909, 68.9055)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ADB #BCDB5A
analogous
#5A7BDB #795ADB #BA5ADB
triadic
#795ADB #DB795A #5ADB79
tetradic
#795ADB #DB5A7B #BCDB5A #5ADBBA
square
#795ADB #DB5A7B #BCDB5A #5ADBBA
split-complementary
#795ADB #DBBA5A #7BDB5A
monochromatic
#3E2199 #532CCB #795ADB #A28CE6 #CBBEF1

Accessibility & contrast

On white

4.89
#795ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#795ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ADB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ADB#FFFFFF#000000##FFFFFF
##795ADB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#5B7792
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795adb;
/* rgb */ color: rgb(121, 90, 219);
/* oklch */ color: oklch(56.7% 0.189 290.1);
Tailwind
colors: {
  custom: {
    50: '#a68ae7',
    500: '#795adb',
    950: '#000000',
  },
}
SCSS
$custom: #795adb;
$custom-light: #a68ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#795adb",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 254.419,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.18856,
    "h": 290.1
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#795ADB
secondary
#D5E1B0
accent
#CC1AA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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