#7630B3#7630B3

#7630B3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.196 H 304.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7630B3
RGBrgb(118, 48, 179)
HSLhsl(272, 58%, 45%)
HSVhsv(272, 73%, 70%)
CMYKcmyk(34.1%, 73.2%, 0%, 29.8%)
CIE-LABlab(36.40, 53.96, -56.99)
CIE-LCHlch(36.40, 78.48, 313.43°)
OKLaboklab(47.59% 0.11 -0.1622)
OKLCHoklch(47.59% 0.196 304.1)
XYZxyz(16.6630, 9.2202, 43.5409)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7630B3 #6DB330
analogous
#3530B3 #7630B3 #B330AF
triadic
#7630B3 #B37630 #30B376
tetradic
#7630B3 #B33530 #6DB330 #30AFB3
square
#7630B3 #B33530 #6DB330 #30AFB3
split-complementary
#7630B3 #AFB330 #30B335
monochromatic
#361652 #562383 #7630B3 #9450D0 #B280DD

Accessibility & contrast

On white

7.38
#7630B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7630B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7630B3
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7630B3#FFFFFF#000000##FFFFFF
##7630B31.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#6A506F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7630b3;
/* rgb */ color: rgb(118, 48, 179);
/* oklch */ color: oklch(47.6% 0.196 304.1);
Tailwind
colors: {
  custom: {
    50: '#a36fcb',
    500: '#7630b3',
    950: '#000000',
  },
}
SCSS
$custom: #7630b3;
$custom-light: #a36fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7630b3",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 272.061,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.19603,
    "h": 304.1
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#7630B3
secondary
#9DC679
accent
#E1478F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7630B3

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

Preview Lab → · Contrast checker → · Palette generator →

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