#B174DD#B174DD

#B174DD is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.161 H 309.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B174DD
RGBrgb(177, 116, 221)
HSLhsl(275, 61%, 66%)
HSVhsv(275, 48%, 87%)
CMYKcmyk(19.9%, 47.5%, 0%, 13.3%)
CIE-LABlab(59.03, 43.08, -44.59)
CIE-LCHlch(59.03, 62.00, 314.01°)
OKLaboklab(66.46% 0.1025 -0.1244)
OKLCHoklch(66.46% 0.161 309.5)
XYZxyz(37.4255, 27.0589, 71.6439)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174DD #A0DD74
analogous
#7C74DD #B174DD #DD74D4
triadic
#B174DD #DDB174 #74DDB1
tetradic
#B174DD #DD7C74 #A0DD74 #74D4DD
square
#B174DD #DD7C74 #A0DD74 #74D4DD
split-complementary
#B174DD #D4DD74 #74DD7C
monochromatic
#762AAC #9543D1 #B174DD #CDA5E9 #E8D6F5

Accessibility & contrast

On white

3.28
#B174DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B174DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174DD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174DD#FFFFFF#000000##000000
##B174DD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#AB859E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b174dd;
/* rgb */ color: rgb(177, 116, 221);
/* oklch */ color: oklch(66.5% 0.161 309.5);
Tailwind
colors: {
  custom: {
    50: '#ca9de8',
    500: '#b174dd',
    950: '#000000',
  },
}
SCSS
$custom: #b174dd;
$custom-light: #ca9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#b174dd",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 274.857,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.16121,
    "h": 309.5
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#B174DD
secondary
#D4E8C5
accent
#C81D65
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B174DD

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

Preview Lab → · Contrast checker → · Palette generator →

#B174DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva