#7D46CF#7D46CF

#7D46CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.201 H 297.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D46CF
RGBrgb(125, 70, 207)
HSLhsl(264, 59%, 54%)
HSVhsv(264, 66%, 81%)
CMYKcmyk(39.6%, 66.2%, 0%, 18.8%)
CIE-LABlab(43.13, 51.69, -62.40)
CIE-LCHlch(43.13, 81.03, 309.64°)
OKLaboklab(53.23% 0.0929 -0.178)
OKLCHoklch(53.23% 0.201 297.6)
XYZxyz(21.9072, 13.2449, 60.4217)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46CF #98CF46
analogous
#4654CF #7D46CF #C246CF
triadic
#7D46CF #CF7D46 #46CF7D
tetradic
#7D46CF #CF4654 #98CF46 #46CFC2
square
#7D46CF #CF4654 #98CF46 #46CFC2
split-complementary
#7D46CF #CFC246 #54CF46
monochromatic
#44207B #5F2CAB #7D46CF #9F77DC #C1A7E8

Accessibility & contrast

On white

5.76
#7D46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46CF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46CF#FFFFFF#000000##FFFFFF
##7D46CF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#696685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d46cf;
/* rgb */ color: rgb(125, 70, 207);
/* oklch */ color: oklch(53.2% 0.201 297.6);
Tailwind
colors: {
  custom: {
    50: '#a97ddf',
    500: '#7d46cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d46cf;
$custom-light: #a97ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46cf",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 264.088,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53231,
    "c": 0.20079,
    "h": 297.6
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#7D46CF
secondary
#BED59B
accent
#E246A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D46CF

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

Preview Lab → · Contrast checker → · Palette generator →

#7D46CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva