#7908C8#7908C8

#7908C8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 47.1% C 0.244 H 302.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7908C8
RGBrgb(121, 8, 200)
HSLhsl(275, 92%, 41%)
HSVhsv(275, 96%, 78%)
CMYKcmyk(39.5%, 96%, 0%, 21.6%)
CIE-LABlab(34.82, 70.16, -71.94)
CIE-LCHlch(34.82, 100.49, 314.29°)
OKLaboklab(47.13% 0.1312 -0.2057)
OKLCHoklch(47.13% 0.244 302.5)
XYZxyz(18.3948, 8.4087, 55.2863)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7908C8 #57C808
analogous
#1908C8 #7908C8 #C808B7
triadic
#7908C8 #C87908 #08C879
tetradic
#7908C8 #C81908 #57C808 #08B7C8
square
#7908C8 #C81908 #57C808 #08B7C8
split-complementary
#7908C8 #B7C808 #08C819
monochromatic
#320352 #55068D #7908C8 #9A17F6 #B452F8

Accessibility & contrast

On white

7.83
#7908C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7908C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7908C8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7908C8#FFFFFF#000000##FFFFFF
##7908C81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#674C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7908c8;
/* rgb */ color: rgb(121, 8, 200);
/* oklch */ color: oklch(47.1% 0.244 302.5);
Tailwind
colors: {
  custom: {
    50: '#a863da',
    500: '#7908c8',
    950: '#000000',
  },
}
SCSS
$custom: #7908c8;
$custom-light: #a863da;
$custom-dark: #000000;
JSON
{
  "hex": "#7908c8",
  "rgb": {
    "r": 121,
    "g": 8,
    "b": 200
  },
  "hsl": {
    "h": 275.313,
    "s": 92.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.24401,
    "h": 302.5
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#7908C8
secondary
#8ADA52
accent
#FF2981
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110615
muted
#807A83

Preview Lab

Preview with #7908C8

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

Preview Lab → · Contrast checker → · Palette generator →

#7908C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva