#B074E1#B074E1

#B074E1 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.166 H 307.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B074E1
RGBrgb(176, 116, 225)
HSLhsl(273, 64%, 67%)
HSVhsv(273, 48%, 88%)
CMYKcmyk(21.8%, 48.4%, 0%, 11.8%)
CIE-LABlab(59.12, 43.70, -46.70)
CIE-LCHlch(59.12, 63.96, 313.10°)
OKLaboklab(66.56% 0.1017 -0.1306)
OKLCHoklch(66.56% 0.166 307.9)
XYZxyz(37.7378, 27.1576, 74.4735)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074E1 #A5E174
analogous
#7A74E1 #B074E1 #E174DB
triadic
#B074E1 #E1B074 #74E1B0
tetradic
#B074E1 #E17A74 #A5E174 #74DBE1
square
#B074E1 #E17A74 #A5E174 #74DBE1
split-complementary
#B074E1 #DBE174 #74E17A
monochromatic
#7427B4 #9342D6 #B074E1 #CDA6EC #E9D9F7

Accessibility & contrast

On white

3.27
#B074E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B074E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074E1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074E1#FFFFFF#000000##000000
##B074E11.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE5
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#A986A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b074e1;
/* rgb */ color: rgb(176, 116, 225);
/* oklch */ color: oklch(66.6% 0.166 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca9deb',
    500: '#b074e1',
    950: '#000000',
  },
}
SCSS
$custom: #b074e1;
$custom-light: #ca9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#b074e1",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 273.028,
    "s": 64.497,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.16554,
    "h": 307.9
  },
  "luminance": 0.27157
}

Semantic roles & 50–950 ramp

primary
#B074E1
secondary
#D7EAC7
accent
#CC196A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B074E1

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

Preview Lab → · Contrast checker → · Palette generator →

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