#B175F2#B175F2

#B175F2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.184 H 304.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B175F2
RGBrgb(177, 117, 242)
HSLhsl(269, 83%, 70%)
HSVhsv(269, 52%, 95%)
CMYKcmyk(26.9%, 51.7%, 0%, 5.1%)
CIE-LABlab(60.32, 47.33, -54.25)
CIE-LCHlch(60.32, 72.00, 311.10°)
OKLaboklab(67.77% 0.1032 -0.1526)
OKLCHoklch(67.77% 0.184 304.1)
XYZxyz(40.5163, 28.4806, 87.3500)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175F2 #B6F275
analogous
#7577F2 #B175F2 #EF75F2
triadic
#B175F2 #F2B175 #75F2B1
tetradic
#B175F2 #F27577 #B6F275 #75F2EF
square
#B175F2 #F27577 #B6F275 #75F2EF
split-complementary
#B175F2 #F2EF75 #77F275
monochromatic
#7214D8 #913DED #B175F2 #D1ADF7 #EFE3FC

Accessibility & contrast

On white

3.14
#B175F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B175F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175F2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175F2#FFFFFF#000000##000000
##B175F21.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#A68CA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b175f2;
/* rgb */ color: rgb(177, 117, 242);
/* oklch */ color: oklch(67.8% 0.184 304.1);
Tailwind
colors: {
  custom: {
    50: '#cb9ef7',
    500: '#b175f2',
    950: '#000000',
  },
}
SCSS
$custom: #b175f2;
$custom-light: #cb9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b175f2",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 268.8,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67766,
    "c": 0.18422,
    "h": 304.1
  },
  "luminance": 0.2848
}

Semantic roles & 50–950 ramp

primary
#B175F2
secondary
#E2F3D0
accent
#DF0677
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B175F2

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

Preview Lab → · Contrast checker → · Palette generator →

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