#7D45CF#7D45CF

#7D45CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.202 H 297.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D45CF
RGBrgb(125, 69, 207)
HSLhsl(264, 59%, 54%)
HSVhsv(264, 67%, 81%)
CMYKcmyk(39.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(42.94, 52.20, -62.70)
CIE-LCHlch(42.94, 81.59, 309.78°)
OKLaboklab(53.1% 0.094 -0.1789)
OKLCHoklch(53.1% 0.202 297.7)
XYZxyz(21.8452, 13.1209, 60.4010)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45CF #97CF45
analogous
#4552CF #7D45CF #C245CF
triadic
#7D45CF #CF7D45 #45CF7D
tetradic
#7D45CF #CF4552 #97CF45 #45CFC2
square
#7D45CF #CF4552 #97CF45 #45CFC2
split-complementary
#7D45CF #CFC245 #52CF45
monochromatic
#44207A #5F2CAB #7D45CF #9F76DC #C1A6E8

Accessibility & contrast

On white

5.79
#7D45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7D45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45CF#FFFFFF#000000##FFFFFF
##7D45CF1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d45cf;
/* rgb */ color: rgb(125, 69, 207);
/* oklch */ color: oklch(53.1% 0.202 297.7);
Tailwind
colors: {
  custom: {
    50: '#a97cdf',
    500: '#7d45cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d45cf;
$custom-light: #a97cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45cf",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 264.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.20206,
    "h": 297.7
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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