#7825B3#7825B3

#7825B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.208 H 306.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7825B3
RGBrgb(120, 37, 179)
HSLhsl(275, 66%, 42%)
HSVhsv(275, 79%, 70%)
CMYKcmyk(33%, 79.3%, 0%, 29.8%)
CIE-LABlab(35.14, 58.71, -59.03)
CIE-LCHlch(35.14, 83.26, 314.84°)
OKLaboklab(46.76% 0.1226 -0.1681)
OKLCHoklch(46.76% 0.208 306.1)
XYZxyz(16.5422, 8.5710, 43.4220)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7825B3 #60B325
analogous
#3125B3 #7825B3 #B325A7
triadic
#7825B3 #B37825 #25B378
tetradic
#7825B3 #B33125 #60B325 #25A7B3
square
#7825B3 #B33125 #60B325 #25A7B3
split-complementary
#7825B3 #A7B325 #25B331
monochromatic
#34104E #561B80 #7825B3 #983ED7 #B371E2

Accessibility & contrast

On white

7.74
#7825B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7825B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7825B3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7825B3#FFFFFF#000000##FFFFFF
##7825B31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#6D4A6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7825b3;
/* rgb */ color: rgb(120, 37, 179);
/* oklch */ color: oklch(46.8% 0.208 306.1);
Tailwind
colors: {
  custom: {
    50: '#a56acb',
    500: '#7825b3',
    950: '#000000',
  },
}
SCSS
$custom: #7825b3;
$custom-light: #a56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7825b3",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 275.07,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.20802,
    "h": 306.1
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#7825B3
secondary
#92C86B
accent
#E93F86
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7825B3

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

Preview Lab → · Contrast checker → · Palette generator →

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