#7902FF#7902FF

#7902FF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 52.3% C 0.292 H 291.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7902FF
RGBrgb(121, 2, 255)
HSLhsl(268, 100%, 50%)
HSVhsv(268, 99%, 100%)
CMYKcmyk(52.5%, 99.2%, 0%, 0%)
CIE-LABlab(40.13, 82.45, -94.61)
CIE-LCHlch(40.13, 125.50, 311.07°)
OKLaboklab(52.34% 0.1077 -0.2719)
OKLCHoklch(52.34% 0.292 291.6)
XYZxyz(25.9517, 11.3273, 95.4073)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7902FF #88FF02
analogous
#020AFF #7902FF #F702FF
triadic
#7902FF #FF7902 #02FF79
tetradic
#7902FF #FF020A #88FF02 #02FFF7
square
#7902FF #FF020A #88FF02 #02FFF7
split-complementary
#7902FF #FFF702 #0AFF02
monochromatic
#3F0087 #5C00C4 #7902FF #993FFF #BA7CFF

Accessibility & contrast

On white

6.43
#7902FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7902FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7902FF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7902FF#FFFFFF#000000##FFFFFF
##7902FF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062FF
Deuteranopia (green-blind)
#005AFB
Tritanopia (blue-blind)
#466696
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7902ff;
/* rgb */ color: rgb(121, 2, 255);
/* oklch */ color: oklch(52.3% 0.292 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae67ff',
    500: '#7902ff',
    950: '#000000',
  },
}
SCSS
$custom: #7902ff;
$custom-light: #ae67ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7902ff",
  "rgb": {
    "r": 121,
    "g": 2,
    "b": 255
  },
  "hsl": {
    "h": 268.221,
    "s": 100,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.29249,
    "h": 291.6
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#7902FF
secondary
#B2E776
accent
#FF299A
background
#FBF6FF
surface
#F7ECFF
border
#D0C7D7
text
#120718
muted
#817A86

Preview Lab

Preview with #7902FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7902FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva