#7835C8#7835C8

#7835C8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.213 H 299.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7835C8
RGBrgb(120, 53, 200)
HSLhsl(267, 58%, 50%)
HSVhsv(267, 74%, 78%)
CMYKcmyk(40%, 73.5%, 0%, 21.6%)
CIE-LABlab(39.09, 57.16, -64.95)
CIE-LCHlch(39.09, 86.52, 311.35°)
OKLaboklab(50.05% 0.1039 -0.1856)
OKLCHoklch(50.05% 0.213 299.2)
XYZxyz(19.4415, 10.7092, 55.6752)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835C8 #85C835
analogous
#353BC8 #7835C8 #C235C8
triadic
#7835C8 #C87835 #35C878
tetradic
#7835C8 #C8353B #85C835 #35C8C2
square
#7835C8 #C8353B #85C835 #35C8C2
split-complementary
#7835C8 #C8C235 #3BC835
monochromatic
#3E1B67 #5B2898 #7835C8 #9864D6 #B895E3

Accessibility & contrast

On white

6.68
#7835C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7835C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835C8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835C8#FFFFFF#000000##FFFFFF
##7835C81.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#655B7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7835c8;
/* rgb */ color: rgb(120, 53, 200);
/* oklch */ color: oklch(50.1% 0.213 299.2);
Tailwind
colors: {
  custom: {
    50: '#a673da',
    500: '#7835c8',
    950: '#000000',
  },
}
SCSS
$custom: #7835c8;
$custom-light: #a673da;
$custom-dark: #000000;
JSON
{
  "hex": "#7835c8",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 267.347,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.21266,
    "h": 299.2
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#7835C8
secondary
#AFCE8B
accent
#E1469B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7835C8

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

Preview Lab → · Contrast checker → · Palette generator →

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