#7825BD#7825BD

#7825BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.218 H 303.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7825BD
RGBrgb(120, 37, 189)
HSLhsl(273, 67%, 44%)
HSVhsv(273, 80%, 74%)
CMYKcmyk(36.5%, 80.4%, 0%, 25.9%)
CIE-LABlab(35.97, 60.95, -63.61)
CIE-LCHlch(35.97, 88.09, 313.78°)
OKLaboklab(47.59% 0.1199 -0.1815)
OKLCHoklch(47.59% 0.218 303.4)
XYZxyz(17.5904, 8.9903, 48.9428)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825BD #6ABD25
analogous
#2C25BD #7825BD #BD25B6
triadic
#7825BD #BD7825 #25BD78
tetradic
#7825BD #BD2C25 #6ABD25 #25B6BD
square
#7825BD #BD2C25 #6ABD25 #25B6BD
split-complementary
#7825BD #B6BD25 #25BD2C
monochromatic
#371157 #581B8A #7825BD #9745DB #B378E5

Accessibility & contrast

On white

7.51
#7825BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7825BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825BD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825BD#FFFFFF#000000##FFFFFF
##7825BD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#6A4F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7825bd;
/* rgb */ color: rgb(120, 37, 189);
/* oklch */ color: oklch(47.6% 0.218 303.4);
Tailwind
colors: {
  custom: {
    50: '#a66ad2',
    500: '#7825bd',
    950: '#000000',
  },
}
SCSS
$custom: #7825bd;
$custom-light: #a66ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7825bd",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 272.763,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.21752,
    "h": 303.4
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#7825BD
secondary
#9BCC72
accent
#EA3E8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7825BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7825BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva