#7625AB#7625AB

#7625AB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.200 H 307.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7625AB
RGBrgb(118, 37, 171)
HSLhsl(276, 64%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(31%, 78.4%, 0%, 32.9%)
CIE-LABlab(34.22, 56.59, -55.78)
CIE-LCHlch(34.22, 79.46, 315.42°)
OKLaboklab(45.86% 0.1217 -0.1586)
OKLCHoklch(45.86% 0.2 307.5)
XYZxyz(15.4819, 8.1152, 39.2710)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7625AB #5AAB25
analogous
#3325AB #7625AB #AB259D
triadic
#7625AB #AB7625 #25AB76
tetradic
#7625AB #AB3325 #5AAB25 #259DAB
square
#7625AB #AB3325 #5AAB25 #259DAB
split-complementary
#7625AB #9DAB25 #25AB33
monochromatic
#310F46 #531A79 #7625AB #9739D4 #B16BDF

Accessibility & contrast

On white

8.01
#7625AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7625AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7625AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7625AB#FFFFFF#000000##FFFFFF
##7625AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#6D4768
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7625ab;
/* rgb */ color: rgb(118, 37, 171);
/* oklch */ color: oklch(45.9% 0.200 307.5);
Tailwind
colors: {
  custom: {
    50: '#a369c5',
    500: '#7625ab',
    950: '#000000',
  },
}
SCSS
$custom: #7625ab;
$custom-light: #a369c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7625ab",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 276.269,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.19991,
    "h": 307.5
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#7625AB
secondary
#8CC567
accent
#E74082
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7625AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7625AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva