#B174F7#B174F7

#B174F7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.9% C 0.192 H 303.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B174F7
RGBrgb(177, 116, 247)
HSLhsl(268, 89%, 71%)
HSVhsv(268, 53%, 97%)
CMYKcmyk(28.3%, 53%, 0%, 3.1%)
CIE-LABlab(60.39, 49.04, -56.91)
CIE-LCHlch(60.39, 75.13, 310.75°)
OKLaboklab(67.9% 0.1048 -0.1604)
OKLCHoklch(67.9% 0.192 303.2)
XYZxyz(41.1616, 28.5533, 91.3205)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174F7 #BAF774
analogous
#7478F7 #B174F7 #F374F7
triadic
#B174F7 #F7B174 #74F7B1
tetradic
#B174F7 #F77478 #BAF774 #74F7F3
square
#B174F7 #F77478 #BAF774 #74F7F3
split-complementary
#B174F7 #F7F374 #78F774
monochromatic
#710DE4 #913AF4 #B174F7 #D1AEFA #EFE2FD

Accessibility & contrast

On white

3.13
#B174F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B174F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174F7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174F7#FFFFFF#000000##000000
##B174F71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#A48DAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b174f7;
/* rgb */ color: rgb(177, 116, 247);
/* oklch */ color: oklch(67.9% 0.192 303.2);
Tailwind
colors: {
  custom: {
    50: '#cc9efa',
    500: '#b174f7',
    950: '#000000',
  },
}
SCSS
$custom: #b174f7;
$custom-light: #cc9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b174f7",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 267.939,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67902,
    "c": 0.19158,
    "h": 303.2
  },
  "luminance": 0.28553
}

Semantic roles & 50–950 ramp

primary
#B174F7
secondary
#E5F5D2
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174F7

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

Preview Lab → · Contrast checker → · Palette generator →

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