#B274F3#B274F3

#B274F3 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.187 H 304.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B274F3
RGBrgb(178, 116, 243)
HSLhsl(269, 84%, 70%)
HSVhsv(269, 52%, 95%)
CMYKcmyk(26.7%, 52.3%, 0%, 4.7%)
CIE-LABlab(60.27, 48.35, -54.87)
CIE-LCHlch(60.27, 73.14, 311.39°)
OKLaboklab(67.77% 0.1058 -0.1544)
OKLCHoklch(67.77% 0.187 304.4)
XYZxyz(40.7796, 28.4270, 88.1152)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274F3 #B5F374
analogous
#7475F3 #B274F3 #F174F3
triadic
#B274F3 #F3B274 #74F3B2
tetradic
#B274F3 #F37475 #B5F374 #74F3F1
square
#B274F3 #F37475 #B5F374 #74F3F1
split-complementary
#B274F3 #F3F174 #75F374
monochromatic
#7413DA #933CEE #B274F3 #D1ACF8 #EFE3FD

Accessibility & contrast

On white

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

On black

6.69
#B274F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274F3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274F3#FFFFFF#000000##000000
##B274F31.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F7
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#A78BA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b274f3;
/* rgb */ color: rgb(178, 116, 243);
/* oklch */ color: oklch(67.8% 0.187 304.4);
Tailwind
colors: {
  custom: {
    50: '#cc9ef8',
    500: '#b274f3',
    950: '#000000',
  },
}
SCSS
$custom: #b274f3;
$custom-light: #cc9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#b274f3",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 269.291,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.18715,
    "h": 304.4
  },
  "luminance": 0.28427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B274F3

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

Preview Lab → · Contrast checker → · Palette generator →

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