#B274F7#B274F7

#B274F7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.192 H 303.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B274F7
RGBrgb(178, 116, 247)
HSLhsl(268, 89%, 71%)
HSVhsv(268, 53%, 97%)
CMYKcmyk(27.9%, 53%, 0%, 3.1%)
CIE-LABlab(60.49, 49.29, -56.74)
CIE-LCHlch(60.49, 75.16, 310.98°)
OKLaboklab(68% 0.106 -0.1598)
OKLCHoklch(68% 0.192 303.6)
XYZxyz(41.3903, 28.6712, 91.3312)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274F7 #B9F774
analogous
#7477F7 #B274F7 #F474F7
triadic
#B274F7 #F7B274 #74F7B2
tetradic
#B274F7 #F77477 #B9F774 #74F7F4
square
#B274F7 #F77477 #B9F774 #74F7F4
split-complementary
#B274F7 #F7F474 #77F774
monochromatic
#730DE4 #923AF4 #B274F7 #D2AEFA #EFE2FD

Accessibility & contrast

On white

3.12
#B274F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B274F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274F7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274F7#FFFFFF#000000##000000
##B274F71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#A68DAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b274f7;
/* rgb */ color: rgb(178, 116, 247);
/* oklch */ color: oklch(68.0% 0.192 303.6);
Tailwind
colors: {
  custom: {
    50: '#cc9efa',
    500: '#b274f7',
    950: '#000000',
  },
}
SCSS
$custom: #b274f7;
$custom-light: #cc9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b274f7",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 268.397,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.19181,
    "h": 303.6
  },
  "luminance": 0.28671
}

Semantic roles & 50–950 ramp

primary
#B274F7
secondary
#E4F5D2
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B274F7

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

Preview Lab → · Contrast checker → · Palette generator →

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