#7F46CF#7F46CF

#7F46CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.201 H 298.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7F46CF
RGBrgb(127, 70, 207)
HSLhsl(265, 59%, 54%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(38.6%, 66.2%, 0%, 18.8%)
CIE-LABlab(43.36, 52.09, -62.03)
CIE-LCHlch(43.36, 81.00, 310.02°)
OKLaboklab(53.44% 0.0957 -0.1768)
OKLCHoklch(53.44% 0.201 298.4)
XYZxyz(22.2022, 13.3970, 60.4355)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46CF #96CF46
analogous
#4652CF #7F46CF #C446CF
triadic
#7F46CF #CF7F46 #46CF7F
tetradic
#7F46CF #CF4652 #96CF46 #46CFC4
square
#7F46CF #CF4652 #96CF46 #46CFC4
split-complementary
#7F46CF #CFC446 #52CF46
monochromatic
#46207B #612CAB #7F46CF #A177DC #C2A7E8

Accessibility & contrast

On white

5.71
#7F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7F46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F46CF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F46CF#FFFFFF#000000##FFFFFF
##7F46CF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f46cf;
/* rgb */ color: rgb(127, 70, 207);
/* oklch */ color: oklch(53.4% 0.201 298.4);
Tailwind
colors: {
  custom: {
    50: '#aa7ddf',
    500: '#7f46cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f46cf;
$custom-light: #aa7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46cf",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 264.964,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.20103,
    "h": 298.4
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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