#B275EB#B275EB

#B275EB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.176 H 306.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B275EB
RGBrgb(178, 117, 235)
HSLhsl(271, 75%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(24.3%, 50.2%, 0%, 7.8%)
CIE-LABlab(60.06, 45.97, -50.78)
CIE-LCHlch(60.06, 68.50, 312.15°)
OKLaboklab(67.47% 0.1039 -0.1424)
OKLCHoklch(67.47% 0.176 306.1)
XYZxyz(39.7137, 28.1860, 81.9294)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B275EB #AEEB75
analogous
#7775EB #B275EB #EB75E9
triadic
#B275EB #EBB275 #75EBB2
tetradic
#B275EB #EB7775 #AEEB75 #75E9EB
square
#B275EB #EB7775 #AEEB75 #75E9EB
split-complementary
#B275EB #E9EB75 #75EB77
monochromatic
#761DC9 #9440E3 #B275EB #D0AAF3 #EEE0FA

Accessibility & contrast

On white

3.16
#B275EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B275EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B275EB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B275EB#FFFFFF#000000##000000
##B275EB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FEF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#A98AA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b275eb;
/* rgb */ color: rgb(178, 117, 235);
/* oklch */ color: oklch(67.5% 0.176 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc9ef2',
    500: '#b275eb',
    950: '#000000',
  },
}
SCSS
$custom: #b275eb;
$custom-light: #cc9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b275eb",
  "rgb": {
    "r": 178,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 271.017,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67474,
    "c": 0.17627,
    "h": 306.1
  },
  "luminance": 0.28186
}

Semantic roles & 50–950 ramp

primary
#B275EB
secondary
#DDEFCD
accent
#D70F6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B275EB

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

Preview Lab → · Contrast checker → · Palette generator →

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