#7825B1#7825B1

#7825B1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.206 H 306.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7825B1
RGBrgb(120, 37, 177)
HSLhsl(276, 65%, 42%)
HSVhsv(276, 79%, 69%)
CMYKcmyk(32.2%, 79.1%, 0%, 30.6%)
CIE-LABlab(34.98, 58.27, -58.10)
CIE-LCHlch(34.98, 82.29, 315.08°)
OKLaboklab(46.6% 0.1231 -0.1653)
OKLCHoklch(46.6% 0.206 306.7)
XYZxyz(16.3414, 8.4907, 42.3644)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825B1 #5EB125
analogous
#3225B1 #7825B1 #B125A4
triadic
#7825B1 #B17825 #25B178
tetradic
#7825B1 #B13225 #5EB125 #25A4B1
square
#7825B1 #B13225 #5EB125 #25A4B1
split-complementary
#7825B1 #A4B125 #25B132
monochromatic
#33104C #561A7E #7825B1 #983DD6 #B36FE1

Accessibility & contrast

On white

7.78
#7825B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7825B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825B1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825B1#FFFFFF#000000##FFFFFF
##7825B11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6E496B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7825b1;
/* rgb */ color: rgb(120, 37, 177);
/* oklch */ color: oklch(46.6% 0.206 306.7);
Tailwind
colors: {
  custom: {
    50: '#a56ac9',
    500: '#7825b1',
    950: '#000000',
  },
}
SCSS
$custom: #7825b1;
$custom-light: #a56ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7825b1",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 275.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46599,
    "c": 0.20613,
    "h": 306.7
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#7825B1
secondary
#90C86A
accent
#E83F84
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825B1

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

Preview Lab → · Contrast checker → · Palette generator →

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