#B274F5#B274F5

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

Color values

HEX#B274F5
RGBrgb(178, 116, 245)
HSLhsl(269, 87%, 71%)
HSVhsv(269, 53%, 96%)
CMYKcmyk(27.3%, 52.7%, 0%, 3.9%)
CIE-LABlab(60.38, 48.82, -55.81)
CIE-LCHlch(60.38, 74.15, 311.18°)
OKLaboklab(67.89% 0.1059 -0.1571)
OKLCHoklch(67.89% 0.189 304)
XYZxyz(41.0833, 28.5485, 89.7145)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274F5 #B7F574
analogous
#7476F5 #B274F5 #F274F5
triadic
#B274F5 #F5B274 #74F5B2
tetradic
#B274F5 #F57476 #B7F574 #74F5F2
square
#B274F5 #F57476 #B7F574 #74F5F2
split-complementary
#B274F5 #F5F274 #76F574
monochromatic
#7310DF #923BF1 #B274F5 #D2ADF9 #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B274F5#FFFFFF#000000##000000
##B274F51.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)
#4890F9
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#A68CAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b274f5;
/* rgb */ color: rgb(178, 116, 245);
/* oklch */ color: oklch(67.9% 0.189 304.0);
Tailwind
colors: {
  custom: {
    50: '#cc9ef9',
    500: '#b274f5',
    950: '#000000',
  },
}
SCSS
$custom: #b274f5;
$custom-light: #cc9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b274f5",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 268.837,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67887,
    "c": 0.18948,
    "h": 304
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#B274F5
secondary
#E3F4D1
accent
#E30277
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B274F5

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

Preview Lab → · Contrast checker → · Palette generator →

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