#7E01FF#7E01FF

#7E01FF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 52.8% C 0.293 H 293.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7E01FF
RGBrgb(126, 1, 255)
HSLhsl(270, 100%, 50%)
HSVhsv(270, 100%, 100%)
CMYKcmyk(50.6%, 99.6%, 0%, 0%)
CIE-LABlab(40.70, 82.92, -93.65)
CIE-LCHlch(40.70, 125.08, 311.52°)
OKLaboklab(52.85% 0.1157 -0.269)
OKLCHoklch(52.85% 0.293 293.3)
XYZxyz(26.6600, 11.6763, 95.4374)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E01FF #82FF01
analogous
#0103FF #7E01FF #FD01FF
triadic
#7E01FF #FF7E01 #01FF7E
tetradic
#7E01FF #FF0103 #82FF01 #01FFFD
square
#7E01FF #FF0103 #82FF01 #01FFFD
split-complementary
#7E01FF #FFFD01 #03FF01
monochromatic
#420086 #6000C3 #7E01FF #9D3EFF #BC7BFF

Accessibility & contrast

On white

6.30
#7E01FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7E01FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E01FF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E01FF#FFFFFF#000000##FFFFFF
##7E01FF1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062FF
Deuteranopia (green-blind)
#005CFB
Tritanopia (blue-blind)
#516696
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e01ff;
/* rgb */ color: rgb(126, 1, 255);
/* oklch */ color: oklch(52.8% 0.293 293.3);
Tailwind
colors: {
  custom: {
    50: '#b167ff',
    500: '#7e01ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e01ff;
$custom-light: #b167ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e01ff",
  "rgb": {
    "r": 126,
    "g": 1,
    "b": 255
  },
  "hsl": {
    "h": 269.528,
    "s": 100,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.29282,
    "h": 293.3
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#7E01FF
secondary
#AFE775
accent
#FF2996
background
#FCF6FF
surface
#F8ECFF
border
#D1C7D7
text
#120718
muted
#817A86

Preview Lab

Preview with #7E01FF

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

Preview Lab → · Contrast checker → · Palette generator →

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