#7F4BEE#7F4BEE

#7F4BEE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.230 H 292.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F4BEE
RGBrgb(127, 75, 238)
HSLhsl(259, 83%, 61%)
HSVhsv(259, 68%, 93%)
CMYKcmyk(46.6%, 68.5%, 0%, 6.7%)
CIE-LABlab(46.60, 57.62, -74.40)
CIE-LCHlch(46.60, 94.10, 307.76°)
OKLaboklab(56.5% 0.0862 -0.2132)
OKLCHoklch(56.5% 0.23 292)
XYZxyz(26.6968, 15.7163, 82.4993)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BEE #BAEE4B
analogous
#4B69EE #7F4BEE #D14BEE
triadic
#7F4BEE #EE7F4B #4BEE7F
tetradic
#7F4BEE #EE4B69 #BAEE4B #4BEED1
square
#7F4BEE #EE4B69 #BAEE4B #4BEED1
split-complementary
#7F4BEE #EED14B #69EE4B
monochromatic
#4310AE #5816E6 #7F4BEE #A783F3 #CFBBF9

Accessibility & contrast

On white

5.07
#7F4BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7F4BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BEE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BEE#FFFFFF#000000##FFFFFF
##7F4BEE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#5C7497
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f4bee;
/* rgb */ color: rgb(127, 75, 238);
/* oklch */ color: oklch(56.5% 0.230 292.0);
Tailwind
colors: {
  custom: {
    50: '#ad81f5',
    500: '#7f4bee',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bee;
$custom-light: #ad81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bee",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 259.141,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.22995,
    "h": 292
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#7F4BEE
secondary
#D5E9AC
accent
#DF069A
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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