#C274FB#C274FB

#C274FB is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 69.9% C 0.201 H 308.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C274FB
RGBrgb(194, 116, 251)
HSLhsl(275, 94%, 72%)
HSVhsv(275, 54%, 98%)
CMYKcmyk(22.7%, 53.8%, 0%, 1.6%)
CIE-LABlab(62.44, 54.16, -55.73)
CIE-LCHlch(62.44, 77.71, 314.18°)
OKLaboklab(69.9% 0.1257 -0.1564)
OKLCHoklch(69.9% 0.201 308.8)
XYZxyz(45.9027, 30.9258, 94.7992)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274FB #ADFB74
analogous
#7F74FB #C274FB #FB74F0
triadic
#C274FB #FBC274 #74FBC2
tetradic
#C274FB #FB7F74 #ADFB74 #74F0FB
square
#C274FB #FB7F74 #ADFB74 #74F0FB
split-complementary
#C274FB #F0FB74 #74FB7F
monochromatic
#8C07EE #A839F9 #C274FB #DCAFFD #F2E1FE

Accessibility & contrast

On white

2.92
#C274FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C274FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274FB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274FB#FFFFFF#000000##000000
##C274FB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#BA8CAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c274fb;
/* rgb */ color: rgb(194, 116, 251);
/* oklch */ color: oklch(69.9% 0.201 308.8);
Tailwind
colors: {
  custom: {
    50: '#d79ffd',
    500: '#c274fb',
    950: '#000000',
  },
}
SCSS
$custom: #c274fb;
$custom-light: #d79ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#c274fb",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 274.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69904,
    "c": 0.20069,
    "h": 308.8
  },
  "luminance": 0.30925
}

Semantic roles & 50–950 ramp

primary
#C274FB
secondary
#E3F6D4
accent
#E60061
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C274FB

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

Preview Lab → · Contrast checker → · Palette generator →

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