#795DDE#795DDE

#795DDE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.188 H 289.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#795DDE
RGBrgb(121, 93, 222)
HSLhsl(253, 66%, 62%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.5%, 58.1%, 0%, 12.9%)
CIE-LABlab(48.47, 42.39, -62.35)
CIE-LCHlch(48.47, 75.40, 304.21°)
OKLaboklab(57.35% 0.0615 -0.178)
OKLCHoklch(57.35% 0.188 289.1)
XYZxyz(24.9806, 17.1666, 71.0903)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DDE #C2DE5D
analogous
#5D82DE #795DDE #BA5DDE
triadic
#795DDE #DE795D #5DDE79
tetradic
#795DDE #DE5D82 #C2DE5D #5DDEBA
square
#795DDE #DE5D82 #C2DE5D #5DDEBA
split-complementary
#795DDE #DEBA5D #82DE5D
monochromatic
#3C21A0 #4F2BD3 #795DDE #A390E8 #CDC3F3

Accessibility & contrast

On white

4.74
#795DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#795DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DDE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DDE#FFFFFF#000000##FFFFFF
##795DDE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#5A7A95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795dde;
/* rgb */ color: rgb(121, 93, 222);
/* oklch */ color: oklch(57.4% 0.188 289.1);
Tailwind
colors: {
  custom: {
    50: '#a68ce9',
    500: '#795dde',
    950: '#000000',
  },
}
SCSS
$custom: #795dde;
$custom-light: #a68ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#795dde",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 253.023,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.1883,
    "h": 289.1
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#795DDE
secondary
#D9E3B4
accent
#CE17A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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