#7850CB#7850CB

#7850CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.182 H 294.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7850CB
RGBrgb(120, 80, 203)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.9%, 60.6%, 0%, 20.4%)
CIE-LABlab(44.29, 44.25, -58.24)
CIE-LCHlch(44.29, 73.15, 307.23°)
OKLaboklab(53.86% 0.0755 -0.1659)
OKLCHoklch(53.86% 0.182 294.5)
XYZxyz(21.3910, 14.0417, 58.0716)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850CB #A3CB50
analogous
#5065CB #7850CB #B550CB
triadic
#7850CB #CB7850 #50CB78
tetradic
#7850CB #CB5065 #A3CB50 #50CBB5
square
#7850CB #CB5065 #A3CB50 #50CBB5
split-complementary
#7850CB #CBB550 #65CB50
monochromatic
#41257C #5A33AB #7850CB #9C7FD9 #C1AEE7

Accessibility & contrast

On white

5.51
#7850CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7850CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850CB#FFFFFF#000000##FFFFFF
##7850CB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0667C8
Tritanopia (blue-blind)
#626B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7850cb;
/* rgb */ color: rgb(120, 80, 203);
/* oklch */ color: oklch(53.9% 0.182 294.5);
Tailwind
colors: {
  custom: {
    50: '#a483dc',
    500: '#7850cb',
    950: '#000000',
  },
}
SCSS
$custom: #7850cb;
$custom-light: #a483dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7850cb",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 259.512,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.18229,
    "h": 294.5
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#7850CB
secondary
#C4D5A2
accent
#DE4AAE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7850CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7850CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva