#7825BB#7825BB

#7825BB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.216 H 304.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7825BB
RGBrgb(120, 37, 187)
HSLhsl(273, 67%, 44%)
HSVhsv(273, 80%, 73%)
CMYKcmyk(35.8%, 80.2%, 0%, 26.7%)
CIE-LABlab(35.80, 60.50, -62.70)
CIE-LCHlch(35.80, 87.13, 313.97°)
OKLaboklab(47.42% 0.1204 -0.1789)
OKLCHoklch(47.42% 0.216 304)
XYZxyz(17.3748, 8.9041, 47.8074)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825BB #68BB25
analogous
#2D25BB #7825BB #BB25B3
triadic
#7825BB #BB7825 #25BB78
tetradic
#7825BB #BB2D25 #68BB25 #25B3BB
square
#7825BB #BB2D25 #68BB25 #25B3BB
split-complementary
#7825BB #B3BB25 #25BB2D
monochromatic
#361155 #571B88 #7825BB #9743DA #B376E4

Accessibility & contrast

On white

7.55
#7825BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7825BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825BB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825BB#FFFFFF#000000##FFFFFF
##7825BB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#6A4E71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7825bb;
/* rgb */ color: rgb(120, 37, 187);
/* oklch */ color: oklch(47.4% 0.216 304.0);
Tailwind
colors: {
  custom: {
    50: '#a56ad0',
    500: '#7825bb',
    950: '#000000',
  },
}
SCSS
$custom: #7825bb;
$custom-light: #a56ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7825bb",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 273.2,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.21563,
    "h": 304
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#7825BB
secondary
#99CB70
accent
#EA3E8B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7825BB

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

Preview Lab → · Contrast checker → · Palette generator →

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