#7175EC#7175EC

#7175EC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.8% C 0.175 H 278.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7175EC
RGBrgb(113, 117, 236)
HSLhsl(238, 76%, 68%)
HSVhsv(238, 52%, 93%)
CMYKcmyk(52.1%, 50.4%, 0%, 7.5%)
CIE-LABlab(54.33, 30.75, -60.81)
CIE-LCHlch(54.33, 68.15, 296.83°)
OKLaboklab(61.84% 0.0259 -0.1735)
OKLCHoklch(61.84% 0.175 278.5)
XYZxyz(28.3069, 22.2877, 82.1510)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7175EC #ECE871
analogous
#71B2EC #7175EC #AA71EC
triadic
#7175EC #EC7175 #75EC71
tetradic
#7175EC #EC71B2 #ECE871 #71ECAA
square
#7175EC #EC71B2 #ECE871 #71ECAA
split-complementary
#7175EC #ECAA71 #B2EC71
monochromatic
#1B20C8 #3B41E5 #7175EC #A7A9F3 #DDDEFA

Accessibility & contrast

On white

3.85
#7175EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7175EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7175EC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7175EC#FFFFFF#000000##000000
##7175EC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#3B8FA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7175ec;
/* rgb */ color: rgb(113, 117, 236);
/* oklch */ color: oklch(61.8% 0.175 278.5);
Tailwind
colors: {
  custom: {
    50: '#a29cf3',
    500: '#7175ec',
    950: '#000000',
  },
}
SCSS
$custom: #7175ec;
$custom-light: #a29cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7175ec",
  "rgb": {
    "r": 113,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 238.049,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.17547,
    "h": 278.5
  },
  "luminance": 0.22289
}

Semantic roles & 50–950 ramp

primary
#7175EC
secondary
#EFEECA
accent
#D20DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7175EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7175EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva