#7F45CF#7F45CF

#7F45CF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.202 H 298.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7F45CF
RGBrgb(127, 69, 207)
HSLhsl(265, 59%, 54%)
HSVhsv(265, 67%, 81%)
CMYKcmyk(38.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(43.17, 52.60, -62.33)
CIE-LCHlch(43.17, 81.55, 310.16°)
OKLaboklab(53.31% 0.0967 -0.1777)
OKLCHoklch(53.31% 0.202 298.6)
XYZxyz(22.1402, 13.2730, 60.4149)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F45CF #95CF45
analogous
#4550CF #7F45CF #C445CF
triadic
#7F45CF #CF7F45 #45CF7F
tetradic
#7F45CF #CF4550 #95CF45 #45CFC4
square
#7F45CF #CF4550 #95CF45 #45CFC4
split-complementary
#7F45CF #CFC445 #50CF45
monochromatic
#46207A #612CAB #7F45CF #A076DC #C2A6E8

Accessibility & contrast

On white

5.75
#7F45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F45CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F45CF#FFFFFF#000000##FFFFFF
##7F45CF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#6C6584
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f45cf;
/* rgb */ color: rgb(127, 69, 207);
/* oklch */ color: oklch(53.3% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#aa7cdf',
    500: '#7f45cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f45cf;
$custom-light: #aa7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f45cf",
  "rgb": {
    "r": 127,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 265.217,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.20231,
    "h": 298.6
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#7F45CF
secondary
#BDD59B
accent
#E246A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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