#795CDD#795CDD

#795CDD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.188 H 289.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#795CDD
RGBrgb(121, 92, 221)
HSLhsl(253, 65%, 61%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.2%, 58.4%, 0%, 13.3%)
CIE-LABlab(48.18, 42.68, -62.25)
CIE-LCHlch(48.18, 75.47, 304.44°)
OKLaboklab(57.12% 0.0626 -0.1777)
OKLCHoklch(57.12% 0.188 289.4)
XYZxyz(24.7598, 16.9388, 70.3575)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CDD #C0DD5C
analogous
#5C80DD #795CDD #B95CDD
triadic
#795CDD #DD795C #5CDD79
tetradic
#795CDD #DD5C80 #C0DD5C #5CDDB9
square
#795CDD #DD5C80 #C0DD5C #5CDDB9
split-complementary
#795CDD #DDB95C #80DD5C
monochromatic
#3D219E #512BD0 #795CDD #A38FE8 #CCC1F2

Accessibility & contrast

On white

4.79
#795CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#795CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CDD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CDD#FFFFFF#000000##FFFFFF
##795CDD1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#5A7994
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795cdd;
/* rgb */ color: rgb(121, 92, 221);
/* oklch */ color: oklch(57.1% 0.188 289.4);
Tailwind
colors: {
  custom: {
    50: '#a68be8',
    500: '#795cdd',
    950: '#000000',
  },
}
SCSS
$custom: #795cdd;
$custom-light: #a68be8;
$custom-dark: #000000;
JSON
{
  "hex": "#795cdd",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 253.488,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.18839,
    "h": 289.4
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#795CDD
secondary
#D8E3B2
accent
#CD18A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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