#7835D0#7835D0

#7835D0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.221 H 297.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7835D0
RGBrgb(120, 53, 208)
HSLhsl(266, 62%, 51%)
HSVhsv(266, 75%, 82%)
CMYKcmyk(42.3%, 74.5%, 0%, 18.4%)
CIE-LABlab(39.74, 59.13, -68.53)
CIE-LCHlch(39.74, 90.51, 310.79°)
OKLaboklab(50.71% 0.102 -0.1961)
OKLCHoklch(50.71% 0.221 297.5)
XYZxyz(20.4010, 11.0930, 60.7286)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835D0 #8DD035
analogous
#353FD0 #7835D0 #C535D0
triadic
#7835D0 #D07835 #35D078
tetradic
#7835D0 #D0353F #8DD035 #35D0C5
square
#7835D0 #D0353F #8DD035 #35D0C5
split-complementary
#7835D0 #D0C535 #3FD035
monochromatic
#3F1A70 #5B26A2 #7835D0 #9967DC #BA98E7

Accessibility & contrast

On white

6.52
#7835D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7835D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835D0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835D0#FFFFFF#000000##FFFFFF
##7835D01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#615E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7835d0;
/* rgb */ color: rgb(120, 53, 208);
/* oklch */ color: oklch(50.7% 0.221 297.5);
Tailwind
colors: {
  custom: {
    50: '#a773df',
    500: '#7835d0',
    950: '#000000',
  },
}
SCSS
$custom: #7835d0;
$custom-light: #a773df;
$custom-dark: #000000;
JSON
{
  "hex": "#7835d0",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 265.935,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.22104,
    "h": 297.5
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#7835D0
secondary
#B5D38E
accent
#E5429F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7835D0

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

Preview Lab → · Contrast checker → · Palette generator →

#7835D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva