#795DDB#795DDB

#795DDB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.184 H 289.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#795DDB
RGBrgb(121, 93, 219)
HSLhsl(253, 64%, 61%)
HSVhsv(253, 58%, 86%)
CMYKcmyk(44.7%, 57.5%, 0%, 14.1%)
CIE-LABlab(48.27, 41.54, -60.97)
CIE-LCHlch(48.27, 73.78, 304.27°)
OKLaboklab(57.14% 0.0615 -0.1739)
OKLCHoklch(57.14% 0.184 289.5)
XYZxyz(24.5821, 17.0072, 68.9916)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DDB #BFDB5D
analogous
#5D80DB #795DDB #B85DDB
triadic
#795DDB #DB795D #5DDB79
tetradic
#795DDB #DB5D80 #BFDB5D #5DDBB8
square
#795DDB #DB5D80 #BFDB5D #5DDBB8
split-complementary
#795DDB #DBB85D #80DB5D
monochromatic
#3D229B #512ECD #795DDB #A28FE6 #CCC1F1

Accessibility & contrast

On white

4.77
#795DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#795DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DDB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DDB#FFFFFF#000000##FFFFFF
##795DDB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0A70D8
Tritanopia (blue-blind)
#5B7993
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ddb;
/* rgb */ color: rgb(121, 93, 219);
/* oklch */ color: oklch(57.1% 0.184 289.5);
Tailwind
colors: {
  custom: {
    50: '#a68ce7',
    500: '#795ddb',
    950: '#000000',
  },
}
SCSS
$custom: #795ddb;
$custom-light: #a68ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#795ddb",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 253.333,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.18448,
    "h": 289.5
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#795DDB
secondary
#D7E2B2
accent
#CB1AA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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