#B27BF3#B27BF3

#B27BF3 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.9% C 0.176 H 303.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B27BF3
RGBrgb(178, 123, 243)
HSLhsl(268, 83%, 72%)
HSVhsv(268, 49%, 95%)
CMYKcmyk(26.7%, 49.4%, 0%, 4.7%)
CIE-LABlab(61.74, 44.58, -52.54)
CIE-LCHlch(61.74, 68.90, 310.32°)
OKLaboklab(68.86% 0.0967 -0.1476)
OKLCHoklch(68.86% 0.176 303.2)
XYZxyz(41.6172, 30.1020, 88.3944)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BF3 #BCF37B
analogous
#7B80F3 #B27BF3 #EE7BF3
triadic
#B27BF3 #F3B27B #7BF3B2
tetradic
#B27BF3 #F37B80 #BCF37B #7BF3EE
square
#B27BF3 #F37B80 #BCF37B #7BF3EE
split-complementary
#B27BF3 #F3EE7B #80F37B
monochromatic
#7114DF #9143EE #B27BF3 #D3B3F8 #EFE3FC

Accessibility & contrast

On white

2.99
#B27BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B27BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27BF3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BF3#FFFFFF#000000##000000
##B27BF31.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F7
Deuteranopia (green-blind)
#6595F0
Tritanopia (blue-blind)
#A691AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b27bf3;
/* rgb */ color: rgb(178, 123, 243);
/* oklch */ color: oklch(68.9% 0.176 303.2);
Tailwind
colors: {
  custom: {
    50: '#cca2f7',
    500: '#b27bf3',
    950: '#000000',
  },
}
SCSS
$custom: #b27bf3;
$custom-light: #cca2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bf3",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 267.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68862,
    "c": 0.17645,
    "h": 303.2
  },
  "luminance": 0.30102
}

Semantic roles & 50–950 ramp

primary
#B27BF3
secondary
#E6F4D6
accent
#E0067C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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