#795FD3#795FD3

#795FD3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.171 H 290.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#795FD3
RGBrgb(121, 95, 211)
HSLhsl(253, 57%, 60%)
HSVhsv(253, 55%, 83%)
CMYKcmyk(42.7%, 55%, 0%, 17.3%)
CIE-LABlab(48.20, 38.13, -56.53)
CIE-LCHlch(48.20, 68.19, 304.00°)
OKLaboklab(56.92% 0.0592 -0.1608)
OKLCHoklch(56.92% 0.171 290.2)
XYZxyz(23.7320, 16.9517, 63.6370)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FD3 #B9D35F
analogous
#5F7FD3 #795FD3 #B35FD3
triadic
#795FD3 #D3795F #5FD379
tetradic
#795FD3 #D35F7F #B9D35F #5FD3B3
square
#795FD3 #D35F7F #B9D35F #5FD3B3
split-complementary
#795FD3 #D3B35F #7FD35F
monochromatic
#3F2890 #5435C0 #795FD3 #A18FE0 #C9BFED

Accessibility & contrast

On white

4.78
#795FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795FD3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FD3#FFFFFF#000000##FFFFFF
##795FD31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2275D7
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#5F7890
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795fd3;
/* rgb */ color: rgb(121, 95, 211);
/* oklch */ color: oklch(56.9% 0.171 290.2);
Tailwind
colors: {
  custom: {
    50: '#a58de1',
    500: '#795fd3',
    950: '#000000',
  },
}
SCSS
$custom: #795fd3;
$custom-light: #a58de1;
$custom-dark: #000000;
JSON
{
  "hex": "#795fd3",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 253.448,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.17139,
    "h": 290.2
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#795FD3
secondary
#D3DDB1
accent
#E048BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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