#B174DF#B174DF

#B174DF is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.164 H 308.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B174DF
RGBrgb(177, 116, 223)
HSLhsl(274, 63%, 66%)
HSVhsv(274, 48%, 87%)
CMYKcmyk(20.6%, 48%, 0%, 12.5%)
CIE-LABlab(59.13, 43.52, -45.56)
CIE-LCHlch(59.13, 63.01, 313.69°)
OKLaboklab(66.56% 0.1027 -0.1272)
OKLCHoklch(66.56% 0.164 308.9)
XYZxyz(37.6936, 27.1661, 73.0556)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174DF #A2DF74
analogous
#7C74DF #B174DF #DF74D7
triadic
#B174DF #DFB174 #74DFB1
tetradic
#B174DF #DF7C74 #A2DF74 #74D7DF
square
#B174DF #DF7C74 #A2DF74 #74D7DF
split-complementary
#B174DF #D7DF74 #74DF7C
monochromatic
#7629B0 #9542D4 #B174DF #CDA6EA #E9D7F6

Accessibility & contrast

On white

3.26
#B174DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B174DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174DF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174DF#FFFFFF#000000##000000
##B174DF1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE3
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#AB869F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b174df;
/* rgb */ color: rgb(177, 116, 223);
/* oklch */ color: oklch(66.6% 0.164 308.9);
Tailwind
colors: {
  custom: {
    50: '#ca9de9',
    500: '#b174df',
    950: '#000000',
  },
}
SCSS
$custom: #b174df;
$custom-light: #ca9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b174df",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 274.206,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66561,
    "c": 0.16353,
    "h": 308.9
  },
  "luminance": 0.27166
}

Semantic roles & 50–950 ramp

primary
#B174DF
secondary
#D5E9C6
accent
#CA1B66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B174DF

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

Preview Lab → · Contrast checker → · Palette generator →

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