#7108DD#7108DD

#7108DD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 48.2% C 0.261 H 294.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7108DD
RGBrgb(113, 8, 221)
HSLhsl(270, 93%, 45%)
HSVhsv(270, 96%, 87%)
CMYKcmyk(48.9%, 96.4%, 0%, 13.3%)
CIE-LABlab(35.80, 73.85, -82.53)
CIE-LCHlch(35.80, 110.74, 311.82°)
OKLaboklab(48.18% 0.1097 -0.2369)
OKLCHoklch(48.18% 0.261 294.8)
XYZxyz(19.9444, 8.9042, 69.0604)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7108DD #74DD08
analogous
#080ADD #7108DD #DB08DD
triadic
#7108DD #DD7108 #08DD71
tetradic
#7108DD #DD080A #74DD08 #08DDDB
square
#7108DD #DD080A #74DD08 #08DDDB
split-complementary
#7108DD #DDDB08 #0ADD08
monochromatic
#350467 #5306A2 #7108DD #902BF7 #AF66F9

Accessibility & contrast

On white

7.55
#7108DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7108DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7108DD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7108DD#FFFFFF#000000##FFFFFF
##7108DD1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056E2
Deuteranopia (green-blind)
#0051DA
Tritanopia (blue-blind)
#4F5782
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7108dd;
/* rgb */ color: rgb(113, 8, 221);
/* oklch */ color: oklch(48.2% 0.261 294.8);
Tailwind
colors: {
  custom: {
    50: '#a664e9',
    500: '#7108dd',
    950: '#000000',
  },
}
SCSS
$custom: #7108dd;
$custom-light: #a664e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7108dd",
  "rgb": {
    "r": 113,
    "g": 8,
    "b": 221
  },
  "hsl": {
    "h": 269.577,
    "s": 93.013,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.2611,
    "h": 294.8
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#7108DD
secondary
#A1DE63
accent
#FF2995
background
#FBF6FE
surface
#F6EBFD
border
#D0C6D5
text
#110616
muted
#807A84

Preview Lab

Preview with #7108DD

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

Preview Lab → · Contrast checker → · Palette generator →

#7108DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva