#7630AB#7630AB

#7630AB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.188 H 306.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7630AB
RGBrgb(118, 48, 171)
HSLhsl(274, 56%, 43%)
HSVhsv(274, 72%, 67%)
CMYKcmyk(31%, 71.9%, 0%, 32.9%)
CIE-LABlab(35.80, 52.08, -53.21)
CIE-LCHlch(35.80, 74.46, 314.39°)
OKLaboklab(46.97% 0.1115 -0.1511)
OKLCHoklch(46.97% 0.188 306.4)
XYZxyz(15.8773, 8.9059, 39.4028)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7630AB #65AB30
analogous
#3830AB #7630AB #AB30A2
triadic
#7630AB #AB7630 #30AB76
tetradic
#7630AB #AB3830 #65AB30 #30A2AB
square
#7630AB #AB3830 #65AB30 #30A2AB
split-complementary
#7630AB #A2AB30 #30AB38
monochromatic
#34154B #55237B #7630AB #954CCD #B17BDA

Accessibility & contrast

On white

7.55
#7630AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7630AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7630AB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7630AB#FFFFFF#000000##FFFFFF
##7630AB1.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)
#0052AF
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#6D4D6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7630ab;
/* rgb */ color: rgb(118, 48, 171);
/* oklch */ color: oklch(47.0% 0.188 306.4);
Tailwind
colors: {
  custom: {
    50: '#a26fc5',
    500: '#7630ab',
    950: '#000000',
  },
}
SCSS
$custom: #7630ab;
$custom-light: #a26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7630ab",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 274.146,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.18776,
    "h": 306.4
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#7630AB
secondary
#96C374
accent
#DF4889
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7630AB

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

Preview Lab → · Contrast checker → · Palette generator →

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