#7165AC#7165AC

#7165AC is a mid, moderate violet. Relative luminance 0.158; OKLCH L 54.9% C 0.109 H 290.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7165AC
RGBrgb(113, 101, 172)
HSLhsl(250, 30%, 54%)
HSVhsv(250, 41%, 67%)
CMYKcmyk(34.3%, 41.3%, 0%, 32.5%)
CIE-LABlab(46.71, 21.60, -36.40)
CIE-LCHlch(46.71, 42.32, 300.68°)
OKLaboklab(54.91% 0.0374 -0.1021)
OKLCHoklch(54.91% 0.109 290.1)
XYZxyz(18.9082, 15.7962, 41.0745)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7165AC #A0AC65
analogous
#657CAC #7165AC #9465AC
triadic
#7165AC #AC7165 #65AC71
tetradic
#7165AC #AC657C #A0AC65 #65AC94
square
#7165AC #AC657C #A0AC65 #65AC94
split-complementary
#7165AC #AC9465 #7CAC65
monochromatic
#3C3562 #554A8A #7165AC #968DC1 #BAB5D7

Accessibility & contrast

On white

5.05
#7165AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7165AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7165AC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7165AC#FFFFFF#000000##FFFFFF
##7165AC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AF
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#637280
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7165ac;
/* rgb */ color: rgb(113, 101, 172);
/* oklch */ color: oklch(54.9% 0.109 290.1);
Tailwind
colors: {
  custom: {
    50: '#9c91c5',
    500: '#7165ac',
    950: '#000000',
  },
}
SCSS
$custom: #7165ac;
$custom-light: #9c91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7165ac",
  "rgb": {
    "r": 113,
    "g": 101,
    "b": 172
  },
  "hsl": {
    "h": 250.141,
    "s": 29.958,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.10874,
    "h": 290.1
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#7165AC
secondary
#C0C6A7
accent
#C662B5
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7165AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7165AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva