#B174FA#B174FA

#B174FA is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.1% C 0.195 H 302.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B174FA
RGBrgb(177, 116, 250)
HSLhsl(267, 93%, 72%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(29.2%, 53.6%, 0%, 2%)
CIE-LABlab(60.55, 49.75, -58.30)
CIE-LCHlch(60.55, 76.64, 310.47°)
OKLaboklab(68.08% 0.105 -0.1644)
OKLCHoklch(68.08% 0.195 302.5)
XYZxyz(41.6283, 28.7400, 93.7782)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174FA #BDFA74
analogous
#747AFA #B174FA #F474FA
triadic
#B174FA #FAB174 #74FAB1
tetradic
#B174FA #FA747A #BDFA74 #74FAF4
square
#B174FA #FA747A #BDFA74 #74FAF4
split-complementary
#B174FA #FAF474 #7AFA74
monochromatic
#7008EB #9039F8 #B174FA #D2AFFC #EEE1FE

Accessibility & contrast

On white

3.11
#B174FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B174FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174FA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174FA#FFFFFF#000000##000000
##B174FA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#A38EAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b174fa;
/* rgb */ color: rgb(177, 116, 250);
/* oklch */ color: oklch(68.1% 0.195 302.5);
Tailwind
colors: {
  custom: {
    50: '#cc9efd',
    500: '#b174fa',
    950: '#000000',
  },
}
SCSS
$custom: #b174fa;
$custom-light: #cc9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b174fa",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 267.313,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68078,
    "c": 0.19508,
    "h": 302.5
  },
  "luminance": 0.2874
}

Semantic roles & 50–950 ramp

primary
#B174FA
secondary
#E6F6D4
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B174FA

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

Preview Lab → · Contrast checker → · Palette generator →

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