#B175F8#B175F8

#B175F8 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.191 H 302.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B175F8
RGBrgb(177, 117, 248)
HSLhsl(267, 90%, 72%)
HSVhsv(267, 53%, 97%)
CMYKcmyk(28.6%, 52.8%, 0%, 2.7%)
CIE-LABlab(60.65, 48.74, -57.05)
CIE-LCHlch(60.65, 75.03, 310.51°)
OKLaboklab(68.11% 0.1036 -0.1608)
OKLCHoklch(68.11% 0.191 302.8)
XYZxyz(41.4322, 28.8470, 92.1740)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175F8 #BCF875
analogous
#757BF8 #B175F8 #F375F8
triadic
#B175F8 #F8B175 #75F8B1
tetradic
#B175F8 #F8757B #BCF875 #75F8F3
square
#B175F8 #F8757B #BCF875 #75F8F3
split-complementary
#B175F8 #F8F375 #7BF875
monochromatic
#700CE7 #903BF5 #B175F8 #D2AFFB #EFE2FE

Accessibility & contrast

On white

3.10
#B175F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B175F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175F8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175F8#FFFFFF#000000##000000
##B175F81.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#A48EAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b175f8;
/* rgb */ color: rgb(177, 117, 248);
/* oklch */ color: oklch(68.1% 0.191 302.8);
Tailwind
colors: {
  custom: {
    50: '#cc9efb',
    500: '#b175f8',
    950: '#000000',
  },
}
SCSS
$custom: #b175f8;
$custom-light: #cc9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b175f8",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 267.481,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68113,
    "c": 0.19125,
    "h": 302.8
  },
  "luminance": 0.28847
}

Semantic roles & 50–950 ramp

primary
#B175F8
secondary
#E6F5D4
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B175F8

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

Preview Lab → · Contrast checker → · Palette generator →

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