#7E08FF#7E08FF

#7E08FF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 53.0% C 0.291 H 293.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7E08FF
RGBrgb(126, 8, 255)
HSLhsl(269, 100%, 52%)
HSVhsv(269, 97%, 100%)
CMYKcmyk(50.6%, 96.9%, 0%, 0%)
CIE-LABlab(40.94, 82.17, -93.24)
CIE-LCHlch(40.94, 124.28, 311.39°)
OKLaboklab(53.01% 0.1145 -0.2679)
OKLCHoklch(53.01% 0.291 293.1)
XYZxyz(26.7359, 11.8283, 95.4627)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E08FF #89FF08
analogous
#080EFF #7E08FF #FA08FF
triadic
#7E08FF #FF7E08 #08FF7E
tetradic
#7E08FF #FF080E #89FF08 #08FFFA
square
#7E08FF #FF080E #89FF08 #08FFFA
split-complementary
#7E08FF #FFFA08 #0EFF08
monochromatic
#43008D #6000CA #7E08FF #9E45FF #BE82FF

Accessibility & contrast

On white

6.24
#7E08FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7E08FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E08FF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E08FF#FFFFFF#000000##FFFFFF
##7E08FF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e08ff;
/* rgb */ color: rgb(126, 8, 255);
/* oklch */ color: oklch(53.0% 0.291 293.1);
Tailwind
colors: {
  custom: {
    50: '#b168ff',
    500: '#7e08ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e08ff;
$custom-light: #b168ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e08ff",
  "rgb": {
    "r": 126,
    "g": 8,
    "b": 255
  },
  "hsl": {
    "h": 268.664,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.29131,
    "h": 293.1
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#7E08FF
secondary
#B4E87B
accent
#FF2999
background
#FCF6FF
surface
#F8ECFF
border
#D1C7D7
text
#120818
muted
#817A86

Preview Lab

Preview with #7E08FF

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

Preview Lab → · Contrast checker → · Palette generator →

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