#794BCB#794BCB

#794BCB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.189 H 295.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#794BCB
RGBrgb(121, 75, 203)
HSLhsl(262, 55%, 55%)
HSVhsv(262, 63%, 80%)
CMYKcmyk(40.4%, 63.1%, 0%, 20.4%)
CIE-LABlab(43.37, 47.21, -59.72)
CIE-LCHlch(43.37, 76.13, 308.32°)
OKLaboklab(53.22% 0.0825 -0.1703)
OKLCHoklch(53.22% 0.189 295.8)
XYZxyz(21.1779, 13.4085, 57.9606)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BCB #9DCB4B
analogous
#4B5DCB #794BCB #B94BCB
triadic
#794BCB #CB794B #4BCB79
tetradic
#794BCB #CB4B5D #9DCB4B #4BCBB9
square
#794BCB #CB4B5D #9DCB4B #4BCBB9
split-complementary
#794BCB #CBB94B #5DCB4B
monochromatic
#422379 #5C31A8 #794BCB #9C7AD9 #C0AAE6

Accessibility & contrast

On white

5.70
#794BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#794BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BCB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BCB#FFFFFF#000000##FFFFFF
##794BCB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#646884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794bcb;
/* rgb */ color: rgb(121, 75, 203);
/* oklch */ color: oklch(53.2% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#a580dc',
    500: '#794bcb',
    950: '#000000',
  },
}
SCSS
$custom: #794bcb;
$custom-light: #a580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794bcb",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 261.563,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.18918,
    "h": 295.8
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#794BCB
secondary
#C1D49E
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BCB

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

Preview Lab → · Contrast checker → · Palette generator →

#794BCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva