#7175D2#7175D2

#7175D2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.140 H 279.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7175D2
RGBrgb(113, 117, 210)
HSLhsl(238, 52%, 63%)
HSVhsv(238, 46%, 82%)
CMYKcmyk(46.2%, 44.3%, 0%, 17.6%)
CIE-LABlab(52.82, 22.85, -48.60)
CIE-LCHlch(52.82, 53.70, 295.18°)
OKLaboklab(60.21% 0.023 -0.1377)
OKLCHoklch(60.21% 0.14 279.5)
XYZxyz(24.8007, 20.8852, 63.6847)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7175D2 #D2CE71
analogous
#71A5D2 #7175D2 #9D71D2
triadic
#7175D2 #D27175 #75D271
tetradic
#7175D2 #D271A5 #D2CE71 #71D29D
square
#7175D2 #D271A5 #D2CE71 #71D29D
split-complementary
#7175D2 #D29D71 #A5D271
monochromatic
#303598 #4348C3 #7175D2 #9FA2E1 #CECFEF

Accessibility & contrast

On white

4.06
#7175D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7175D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7175D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7175D2#FFFFFF#000000##000000
##7175D21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D5
Deuteranopia (green-blind)
#497BD0
Tritanopia (blue-blind)
#4F8899
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7175d2;
/* rgb */ color: rgb(113, 117, 210);
/* oklch */ color: oklch(60.2% 0.140 279.5);
Tailwind
colors: {
  custom: {
    50: '#9f9ce0',
    500: '#7175d2',
    950: '#000000',
  },
}
SCSS
$custom: #7175d2;
$custom-light: #9f9ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7175d2",
  "rgb": {
    "r": 113,
    "g": 117,
    "b": 210
  },
  "hsl": {
    "h": 237.526,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.13959,
    "h": 279.5
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#7175D2
secondary
#E1DFBE
accent
#B926BF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7175D2

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

Preview Lab → · Contrast checker → · Palette generator →

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