#795BDC#795BDC

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

Color values

HEX#795BDC
RGBrgb(121, 91, 220)
HSLhsl(254, 65%, 61%)
HSVhsv(254, 59%, 86%)
CMYKcmyk(45%, 58.6%, 0%, 13.7%)
CIE-LABlab(47.90, 42.97, -62.14)
CIE-LCHlch(47.90, 75.55, 304.66°)
OKLaboklab(56.89% 0.0637 -0.1774)
OKLCHoklch(56.89% 0.188 289.8)
XYZxyz(24.5409, 16.7135, 69.6293)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BDC #BEDC5B
analogous
#5B7DDC #795BDC #B95BDC
triadic
#795BDC #DC795B #5BDC79
tetradic
#795BDC #DC5B7D #BEDC5B #5BDCB9
square
#795BDC #DC5B7D #BEDC5B #5BDCB9
split-complementary
#795BDC #DCB95B #7DDC5B
monochromatic
#3E219B #522CCE #795BDC #A28DE7 #CBC0F2

Accessibility & contrast

On white

4.84
#795BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#795BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BDC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BDC#FFFFFF#000000##FFFFFF
##795BDC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#5B7893
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795bdc;
/* rgb */ color: rgb(121, 91, 220);
/* oklch */ color: oklch(56.9% 0.188 289.8);
Tailwind
colors: {
  custom: {
    50: '#a68ae8',
    500: '#795bdc',
    950: '#000000',
  },
}
SCSS
$custom: #795bdc;
$custom-light: #a68ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#795bdc",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 253.953,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.18848,
    "h": 289.8
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#795BDC
secondary
#D6E2B1
accent
#CD19A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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