#7725DC#7725DC

#7725DC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.2% C 0.247 H 296.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7725DC
RGBrgb(119, 37, 220)
HSLhsl(267, 72%, 50%)
HSVhsv(267, 83%, 86%)
CMYKcmyk(45.9%, 83.2%, 0%, 13.7%)
CIE-LABlab(38.57, 67.93, -77.36)
CIE-LCHlch(38.57, 102.95, 311.29°)
OKLaboklab(50.2% 0.1084 -0.2219)
OKLCHoklch(50.2% 0.247 296)
XYZxyz(21.1841, 10.4118, 68.5898)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7725DC #8ADC25
analogous
#252FDC #7725DC #D225DC
triadic
#7725DC #DC7725 #25DC77
tetradic
#7725DC #DC252F #8ADC25 #25DCD2
square
#7725DC #DC252F #8ADC25 #25DCD2
split-complementary
#7725DC #DCD225 #2FDC25
monochromatic
#3E1374 #5B1BA9 #7725DC #985AE4 #B98EED

Accessibility & contrast

On white

6.81
#7725DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7725DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7725DC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7725DC#FFFFFF#000000##FFFFFF
##7725DC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#5A5D84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7725dc;
/* rgb */ color: rgb(119, 37, 220);
/* oklch */ color: oklch(50.2% 0.247 296.0);
Tailwind
colors: {
  custom: {
    50: '#a86ce8',
    500: '#7725dc',
    950: '#000000',
  },
}
SCSS
$custom: #7725dc;
$custom-light: #a86ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7725dc",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 220
  },
  "hsl": {
    "h": 266.885,
    "s": 72.332,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.24693,
    "h": 296
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#7725DC
secondary
#B3D786
accent
#EF399D
background
#FBF6FE
surface
#F6ECFD
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7725DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7725DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva